mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user