diff --git a/scst/include/backport.h b/scst/include/backport.h index d791e555d..c28298034 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -53,7 +53,7 @@ static inline unsigned int queue_max_hw_sectors(struct request_queue *q) #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 20) #ifndef __printf -#define __printf(a, b) __attribute__((format(printf,a,b))) +#define __printf(a, b) __attribute__((format(printf, a, b))) #endif #endif diff --git a/scst/src/dev_handlers/scst_user.c b/scst/src/dev_handlers/scst_user.c index 20dd9da8d..40b1a902b 100644 --- a/scst/src/dev_handlers/scst_user.c +++ b/scst/src/dev_handlers/scst_user.c @@ -36,10 +36,10 @@ #ifndef INSIDE_KERNEL_TREE #if defined(CONFIG_HIGHMEM4G) || defined(CONFIG_HIGHMEM64G) -#warning HIGHMEM kernel configurations are not supported by this module,\ - because nowadays it is not worth the effort. Consider changing\ - VMSPLIT option or use a 64-bit configuration instead. See README file\ - for details. +#warning HIGHMEM kernel configurations are not supported by this module, \ +because nowadays it is not worth the effort. Consider changing \ +VMSPLIT option or use a 64-bit configuration instead. See README file \ +for details. #endif #endif diff --git a/scst/src/scst_event.c b/scst/src/scst_event.c index a5ca67dda..11de3c1be 100644 --- a/scst/src/scst_event.c +++ b/scst/src/scst_event.c @@ -1091,13 +1091,13 @@ int scst_event_init(void) } #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21) - class_member = class_device_create(scst_event_sysfs_class, NULL, + class_member = class_device_create(scst_event_sysfs_class, NULL, MKDEV(scst_event_major, 0), NULL, SCST_EVENT_NAME); - if (IS_ERR(class_member)) { - res = PTR_ERR(class_member); - goto out_chrdev; - } + if (IS_ERR(class_member)) { + res = PTR_ERR(class_member); + goto out_chrdev; + } #else dev = device_create(scst_event_sysfs_class, NULL, MKDEV(scst_event_major, 0),