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
This commit is contained in:
Bart Van Assche
2016-03-27 15:50:21 +00:00
parent 8695583ee9
commit 7289593aff
3 changed files with 10 additions and 10 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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),