]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
simple_open-automatically-convert-to-simple_open-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Apr 2012 00:07:58 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 4 Apr 2012 03:07:18 +0000 (13:07 +1000)
Cc: Al Viro <viro@zeniv.linux.org.uk>
WARNING: please, no space before tabs
#1565: FILE: drivers/net/wireless/iwlwifi/iwl-debugfs.c:91:
+^I.open = simple_open,                    ^I^I^I\$

WARNING: please, no space before tabs
#1574: FILE: drivers/net/wireless/iwlwifi/iwl-debugfs.c:99:
+^I.open = simple_open,                    ^I^I^I\$

WARNING: please, no space before tabs
#1583: FILE: drivers/net/wireless/iwlwifi/iwl-debugfs.c:110:
+^I.open = simple_open,                            ^I^I\$

total: 0 errors, 3 warnings, 2133 lines checked

./patches/simple_open-automatically-convert-to-simple_open.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/wireless/iwlwifi/iwl-debugfs.c

index 95ca85c78c866c33bddf37ecabaf4a30efb18e9c..2bbaebd99ad42a4a8c057838eead058088686dc0 100644 (file)
@@ -88,7 +88,7 @@ static ssize_t iwl_dbgfs_##name##_write(struct file *file,              \
        DEBUGFS_READ_FUNC(name);                                        \
 static const struct file_operations iwl_dbgfs_##name##_ops = {          \
        .read = iwl_dbgfs_##name##_read,                                \
-       .open = simple_open,                                            \
+       .open = simple_open,                                            \
        .llseek = generic_file_llseek,                                  \
 };
 
@@ -96,7 +96,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = {          \
        DEBUGFS_WRITE_FUNC(name);                                       \
 static const struct file_operations iwl_dbgfs_##name##_ops = {          \
        .write = iwl_dbgfs_##name##_write,                              \
-       .open = simple_open,                                            \
+       .open = simple_open,                                            \
        .llseek = generic_file_llseek,                                  \
 };
 
@@ -107,7 +107,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = {          \
 static const struct file_operations iwl_dbgfs_##name##_ops = {          \
        .write = iwl_dbgfs_##name##_write,                              \
        .read = iwl_dbgfs_##name##_read,                                \
-       .open = simple_open,                                            \
+       .open = simple_open,                                            \
        .llseek = generic_file_llseek,                                  \
 };