Index: uspace/app/hrctl/hrctl.c
===================================================================
--- uspace/app/hrctl/hrctl.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/app/hrctl/hrctl.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -341,5 +341,5 @@
 		case 'n':
 			cfg->dev_no = strtol(optarg, NULL, 10);
-			if ((int) cfg->dev_no + optind != argc)
+			if ((int)cfg->dev_no + optind != argc)
 				goto bad;
 			rc = fill_config_devs(argc, argv, optind, cfg);
Index: uspace/srv/bd/hr/hr.c
===================================================================
--- uspace/srv/bd/hr/hr.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/hr.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -264,5 +264,5 @@
 
 	svc_id = ipc_get_arg1(icall);
-	fail_extent = (long) ipc_get_arg2(icall);
+	fail_extent = (long)ipc_get_arg2(icall);
 
 	vol = hr_get_volume(svc_id);
Index: uspace/srv/bd/hr/raid0.c
===================================================================
--- uspace/srv/bd/hr/raid0.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/raid0.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -128,5 +128,5 @@
 {
 	fibril_mutex_lock(&vol->lock);
-	(void) hr_raid0_update_vol_status(vol);
+	(void)hr_raid0_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 }
@@ -291,5 +291,5 @@
 
 error:
-	(void) hr_raid0_update_vol_status(vol);
+	(void)hr_raid0_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 	return rc;
Index: uspace/srv/bd/hr/raid1.c
===================================================================
--- uspace/srv/bd/hr/raid1.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/raid1.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -129,5 +129,5 @@
 {
 	fibril_mutex_lock(&vol->lock);
-	(void) hr_raid1_update_vol_status(vol);
+	(void)hr_raid1_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 }
@@ -359,5 +359,5 @@
 		rc = EIO;
 
-	(void) hr_raid1_update_vol_status(vol);
+	(void)hr_raid1_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 	return rc;
@@ -486,5 +486,5 @@
 	hr_write_meta_to_ext(vol, bad);
 end:
-	(void) hr_raid1_update_vol_status(vol);
+	(void)hr_raid1_update_vol_status(vol);
 
 	fibril_mutex_unlock(&vol->lock);
Index: uspace/srv/bd/hr/raid4.c
===================================================================
--- uspace/srv/bd/hr/raid4.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/raid4.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -143,5 +143,5 @@
 {
 	fibril_mutex_lock(&vol->lock);
-	(void) hr_raid4_update_vol_status(vol);
+	(void)hr_raid4_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 }
@@ -387,5 +387,5 @@
 	}
 
-	if (extent == (size_t) bad) {
+	if (extent == (size_t)bad) {
 		/*
 		 * new parity = read other and xor in new data
@@ -395,5 +395,5 @@
 		memset(xorbuf, 0, len);
 		for (i = 1; i < vol->dev_no; i++) {
-			if (i == (size_t) bad) {
+			if (i == (size_t)bad)
 				continue;
 			} else {
@@ -545,5 +545,5 @@
 		retry_read:
 			ssize_t bad = hr_raid4_get_bad_ext(vol);
-			if (bad > 0 && extent == (size_t) bad) {
+			if (bad > 0 && extent == (size_t)bad) {
 				rc = hr_raid4_read_degraded(vol, bad,
 				    phys_block, data_read, cnt);
@@ -600,5 +600,5 @@
 
 error:
-	(void) hr_raid4_update_vol_status(vol);
+	(void)hr_raid4_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 	return rc;
@@ -725,5 +725,5 @@
 	hr_write_meta_to_ext(vol, bad);
 end:
-	(void) hr_raid4_update_vol_status(vol);
+	(void)hr_raid4_update_vol_status(vol);
 
 	fibril_mutex_unlock(&vol->lock);
Index: uspace/srv/bd/hr/raid5.c
===================================================================
--- uspace/srv/bd/hr/raid5.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/raid5.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -140,5 +140,5 @@
 {
 	fibril_mutex_lock(&vol->lock);
-	(void) hr_raid5_update_vol_status(vol);
+	(void)hr_raid5_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 }
@@ -385,5 +385,5 @@
 	}
 
-	if (extent == (size_t) bad) {
+	if (extent == (size_t)bad) {
 		/*
 		 * new parity = read other and xor in new data
@@ -393,5 +393,5 @@
 		memset(xorbuf, 0, len);
 		for (i = 1; i < vol->dev_no; i++) {
-			if (i == (size_t) bad) {
+			if (i == (size_t)bad)
 				continue;
 			} else {
@@ -547,5 +547,5 @@
 		retry_read:
 			ssize_t bad = hr_raid5_get_bad_ext(vol);
-			if (bad > 0 && extent == (size_t) bad) {
+			if (bad > 0 && extent == (size_t)bad) {
 				rc = hr_raid5_read_degraded(vol, bad,
 				    phys_block, data_read, cnt);
@@ -606,5 +606,5 @@
 
 error:
-	(void) hr_raid5_update_vol_status(vol);
+	(void)hr_raid5_update_vol_status(vol);
 	fibril_mutex_unlock(&vol->lock);
 	return rc;
@@ -731,5 +731,5 @@
 	hr_write_meta_to_ext(vol, bad);
 end:
-	(void) hr_raid5_update_vol_status(vol);
+	(void)hr_raid5_update_vol_status(vol);
 
 	fibril_mutex_unlock(&vol->lock);
Index: uspace/srv/bd/hr/superblock.c
===================================================================
--- uspace/srv/bd/hr/superblock.c	(revision aa7864b3dfbb5bf9b30e2e59ae92dfa2698bcf59)
+++ uspace/srv/bd/hr/superblock.c	(revision bf0a79165b9ed48ab71bc06b9cc9a53949a8c8ed)
@@ -212,5 +212,5 @@
 	for (size_t i = 0; i < vol->dev_no; i++) {
 		for (size_t j = 0; j < vol->dev_no; j++) {
-			if (i == (uint32_t) md_order[j]) {
+			if (i == (uint32_t)md_order[j]) {
 				vol->extents[i].svc_id = cfg_svc_id_order[j];
 				vol->extents[i].status = HR_EXT_ONLINE;
