From 7289593aff34b3d46bfef168d86a1924c79ce3c8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 27 Mar 2016 15:50:21 +0000 Subject: [PATCH] scst: Fix checkpatch complaints about using spaces for indentation instead of tabs git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6841 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 2 +- scst/src/dev_handlers/scst_user.c | 8 ++++---- scst/src/scst_event.c | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) 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),