Commit 5551e71
committed
panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes
WARNING: struct ctl_table should normally be const
torvalds#24: FILE: lib/sys_info.c:46:
+static int sys_info_write_handler(struct ctl_table *table,
WARNING: struct ctl_table should normally be const
torvalds#43: FILE: lib/sys_info.c:65:
+static int sys_info_read_handler(struct ctl_table *table,
total: 0 errors, 2 warnings, 99 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
./patches/panic-sys_info-factor-out-read-and-write-handlers.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Andy Shevchenko <[email protected]>
Cc: Feng Tang <[email protected]>
Cc: Petr Mladek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 1e4a198 commit 5551e71
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments