Commit dd11bb8
mm-move-page-writeback-sysctls-to-is-own-file-checkpatch-fixes
WARNING: please, no spaces at the start of a line
torvalds#249: FILE: mm/page-writeback.c:2089:
+ {$
ERROR: code indent should use tabs where possible
torvalds#250: FILE: mm/page-writeback.c:2090:
+ .procname = "dirty_background_ratio",$
WARNING: please, no spaces at the start of a line
torvalds#250: FILE: mm/page-writeback.c:2090:
+ .procname = "dirty_background_ratio",$
ERROR: code indent should use tabs where possible
torvalds#251: FILE: mm/page-writeback.c:2091:
+ .data = &dirty_background_ratio,$
WARNING: please, no spaces at the start of a line
torvalds#251: FILE: mm/page-writeback.c:2091:
+ .data = &dirty_background_ratio,$
ERROR: code indent should use tabs where possible
torvalds#252: FILE: mm/page-writeback.c:2092:
+ .maxlen = sizeof(dirty_background_ratio),$
WARNING: please, no spaces at the start of a line
torvalds#252: FILE: mm/page-writeback.c:2092:
+ .maxlen = sizeof(dirty_background_ratio),$
ERROR: code indent should use tabs where possible
torvalds#253: FILE: mm/page-writeback.c:2093:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#253: FILE: mm/page-writeback.c:2093:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#254: FILE: mm/page-writeback.c:2094:
+ .proc_handler = dirty_background_ratio_handler,$
WARNING: please, no spaces at the start of a line
torvalds#254: FILE: mm/page-writeback.c:2094:
+ .proc_handler = dirty_background_ratio_handler,$
ERROR: code indent should use tabs where possible
torvalds#255: FILE: mm/page-writeback.c:2095:
+ .extra1 = SYSCTL_ZERO,$
WARNING: please, no spaces at the start of a line
torvalds#255: FILE: mm/page-writeback.c:2095:
+ .extra1 = SYSCTL_ZERO,$
ERROR: code indent should use tabs where possible
torvalds#256: FILE: mm/page-writeback.c:2096:
+ .extra2 = SYSCTL_ONE_HUNDRED,$
WARNING: please, no spaces at the start of a line
torvalds#256: FILE: mm/page-writeback.c:2096:
+ .extra2 = SYSCTL_ONE_HUNDRED,$
WARNING: please, no spaces at the start of a line
torvalds#257: FILE: mm/page-writeback.c:2097:
+ },$
WARNING: please, no spaces at the start of a line
torvalds#258: FILE: mm/page-writeback.c:2098:
+ {$
ERROR: code indent should use tabs where possible
torvalds#259: FILE: mm/page-writeback.c:2099:
+ .procname = "dirty_background_bytes",$
WARNING: please, no spaces at the start of a line
torvalds#259: FILE: mm/page-writeback.c:2099:
+ .procname = "dirty_background_bytes",$
ERROR: code indent should use tabs where possible
torvalds#260: FILE: mm/page-writeback.c:2100:
+ .data = &dirty_background_bytes,$
WARNING: please, no spaces at the start of a line
torvalds#260: FILE: mm/page-writeback.c:2100:
+ .data = &dirty_background_bytes,$
ERROR: code indent should use tabs where possible
torvalds#261: FILE: mm/page-writeback.c:2101:
+ .maxlen = sizeof(dirty_background_bytes),$
WARNING: please, no spaces at the start of a line
torvalds#261: FILE: mm/page-writeback.c:2101:
+ .maxlen = sizeof(dirty_background_bytes),$
ERROR: code indent should use tabs where possible
torvalds#262: FILE: mm/page-writeback.c:2102:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#262: FILE: mm/page-writeback.c:2102:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#263: FILE: mm/page-writeback.c:2103:
+ .proc_handler = dirty_background_bytes_handler,$
WARNING: please, no spaces at the start of a line
torvalds#263: FILE: mm/page-writeback.c:2103:
+ .proc_handler = dirty_background_bytes_handler,$
ERROR: code indent should use tabs where possible
torvalds#264: FILE: mm/page-writeback.c:2104:
+ .extra1 = SYSCTL_LONG_ONE,$
WARNING: please, no spaces at the start of a line
torvalds#264: FILE: mm/page-writeback.c:2104:
+ .extra1 = SYSCTL_LONG_ONE,$
WARNING: please, no spaces at the start of a line
torvalds#265: FILE: mm/page-writeback.c:2105:
+ },$
WARNING: please, no spaces at the start of a line
torvalds#266: FILE: mm/page-writeback.c:2106:
+ {$
ERROR: code indent should use tabs where possible
torvalds#267: FILE: mm/page-writeback.c:2107:
+ .procname = "dirty_ratio",$
WARNING: please, no spaces at the start of a line
torvalds#267: FILE: mm/page-writeback.c:2107:
+ .procname = "dirty_ratio",$
ERROR: code indent should use tabs where possible
torvalds#268: FILE: mm/page-writeback.c:2108:
+ .data = &vm_dirty_ratio,$
WARNING: please, no spaces at the start of a line
torvalds#268: FILE: mm/page-writeback.c:2108:
+ .data = &vm_dirty_ratio,$
ERROR: code indent should use tabs where possible
torvalds#269: FILE: mm/page-writeback.c:2109:
+ .maxlen = sizeof(vm_dirty_ratio),$
WARNING: please, no spaces at the start of a line
torvalds#269: FILE: mm/page-writeback.c:2109:
+ .maxlen = sizeof(vm_dirty_ratio),$
ERROR: code indent should use tabs where possible
torvalds#270: FILE: mm/page-writeback.c:2110:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#270: FILE: mm/page-writeback.c:2110:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#271: FILE: mm/page-writeback.c:2111:
+ .proc_handler = dirty_ratio_handler,$
WARNING: please, no spaces at the start of a line
torvalds#271: FILE: mm/page-writeback.c:2111:
+ .proc_handler = dirty_ratio_handler,$
ERROR: code indent should use tabs where possible
torvalds#272: FILE: mm/page-writeback.c:2112:
+ .extra1 = SYSCTL_ZERO,$
WARNING: please, no spaces at the start of a line
torvalds#272: FILE: mm/page-writeback.c:2112:
+ .extra1 = SYSCTL_ZERO,$
ERROR: code indent should use tabs where possible
torvalds#273: FILE: mm/page-writeback.c:2113:
+ .extra2 = SYSCTL_ONE_HUNDRED,$
WARNING: please, no spaces at the start of a line
torvalds#273: FILE: mm/page-writeback.c:2113:
+ .extra2 = SYSCTL_ONE_HUNDRED,$
WARNING: please, no spaces at the start of a line
torvalds#274: FILE: mm/page-writeback.c:2114:
+ },$
WARNING: please, no spaces at the start of a line
torvalds#275: FILE: mm/page-writeback.c:2115:
+ {$
ERROR: code indent should use tabs where possible
torvalds#276: FILE: mm/page-writeback.c:2116:
+ .procname = "dirty_bytes",$
WARNING: please, no spaces at the start of a line
torvalds#276: FILE: mm/page-writeback.c:2116:
+ .procname = "dirty_bytes",$
ERROR: code indent should use tabs where possible
torvalds#277: FILE: mm/page-writeback.c:2117:
+ .data = &vm_dirty_bytes,$
WARNING: please, no spaces at the start of a line
torvalds#277: FILE: mm/page-writeback.c:2117:
+ .data = &vm_dirty_bytes,$
ERROR: code indent should use tabs where possible
torvalds#278: FILE: mm/page-writeback.c:2118:
+ .maxlen = sizeof(vm_dirty_bytes),$
WARNING: please, no spaces at the start of a line
torvalds#278: FILE: mm/page-writeback.c:2118:
+ .maxlen = sizeof(vm_dirty_bytes),$
ERROR: code indent should use tabs where possible
torvalds#279: FILE: mm/page-writeback.c:2119:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#279: FILE: mm/page-writeback.c:2119:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#280: FILE: mm/page-writeback.c:2120:
+ .proc_handler = dirty_bytes_handler,$
WARNING: please, no spaces at the start of a line
torvalds#280: FILE: mm/page-writeback.c:2120:
+ .proc_handler = dirty_bytes_handler,$
ERROR: code indent should use tabs where possible
torvalds#281: FILE: mm/page-writeback.c:2121:
+ .extra1 = (void *)&dirty_bytes_min,$
WARNING: please, no spaces at the start of a line
torvalds#281: FILE: mm/page-writeback.c:2121:
+ .extra1 = (void *)&dirty_bytes_min,$
WARNING: please, no spaces at the start of a line
torvalds#282: FILE: mm/page-writeback.c:2122:
+ },$
WARNING: please, no spaces at the start of a line
torvalds#283: FILE: mm/page-writeback.c:2123:
+ {$
ERROR: code indent should use tabs where possible
torvalds#284: FILE: mm/page-writeback.c:2124:
+ .procname = "dirty_writeback_centisecs",$
WARNING: please, no spaces at the start of a line
torvalds#284: FILE: mm/page-writeback.c:2124:
+ .procname = "dirty_writeback_centisecs",$
ERROR: code indent should use tabs where possible
torvalds#285: FILE: mm/page-writeback.c:2125:
+ .data = &dirty_writeback_interval,$
WARNING: please, no spaces at the start of a line
torvalds#285: FILE: mm/page-writeback.c:2125:
+ .data = &dirty_writeback_interval,$
ERROR: code indent should use tabs where possible
torvalds#286: FILE: mm/page-writeback.c:2126:
+ .maxlen = sizeof(dirty_writeback_interval),$
WARNING: please, no spaces at the start of a line
torvalds#286: FILE: mm/page-writeback.c:2126:
+ .maxlen = sizeof(dirty_writeback_interval),$
ERROR: code indent should use tabs where possible
torvalds#287: FILE: mm/page-writeback.c:2127:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#287: FILE: mm/page-writeback.c:2127:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#288: FILE: mm/page-writeback.c:2128:
+ .proc_handler = dirty_writeback_centisecs_handler,$
WARNING: please, no spaces at the start of a line
torvalds#288: FILE: mm/page-writeback.c:2128:
+ .proc_handler = dirty_writeback_centisecs_handler,$
WARNING: please, no spaces at the start of a line
torvalds#289: FILE: mm/page-writeback.c:2129:
+ },$
WARNING: please, no spaces at the start of a line
torvalds#290: FILE: mm/page-writeback.c:2130:
+ {$
ERROR: code indent should use tabs where possible
torvalds#291: FILE: mm/page-writeback.c:2131:
+ .procname = "dirty_expire_centisecs",$
WARNING: please, no spaces at the start of a line
torvalds#291: FILE: mm/page-writeback.c:2131:
+ .procname = "dirty_expire_centisecs",$
ERROR: code indent should use tabs where possible
torvalds#292: FILE: mm/page-writeback.c:2132:
+ .data = &dirty_expire_interval,$
WARNING: please, no spaces at the start of a line
torvalds#292: FILE: mm/page-writeback.c:2132:
+ .data = &dirty_expire_interval,$
ERROR: code indent should use tabs where possible
torvalds#293: FILE: mm/page-writeback.c:2133:
+ .maxlen = sizeof(dirty_expire_interval),$
WARNING: please, no spaces at the start of a line
torvalds#293: FILE: mm/page-writeback.c:2133:
+ .maxlen = sizeof(dirty_expire_interval),$
ERROR: code indent should use tabs where possible
torvalds#294: FILE: mm/page-writeback.c:2134:
+ .mode = 0644,$
WARNING: please, no spaces at the start of a line
torvalds#294: FILE: mm/page-writeback.c:2134:
+ .mode = 0644,$
ERROR: code indent should use tabs where possible
torvalds#295: FILE: mm/page-writeback.c:2135:
+ .proc_handler = proc_dointvec_minmax,$
WARNING: please, no spaces at the start of a line
torvalds#295: FILE: mm/page-writeback.c:2135:
+ .proc_handler = proc_dointvec_minmax,$
ERROR: code indent should use tabs where possible
torvalds#296: FILE: mm/page-writeback.c:2136:
+ .extra1 = SYSCTL_ZERO,$
WARNING: please, no spaces at the start of a line
torvalds#296: FILE: mm/page-writeback.c:2136:
+ .extra1 = SYSCTL_ZERO,$
WARNING: please, no spaces at the start of a line
torvalds#297: FILE: mm/page-writeback.c:2137:
+ },$
total: 37 errors, 49 warnings, 287 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.
NOTE: Whitespace errors detected.
You may wish to use scripts/cleanpatch or scripts/cleanfile
./patches/mm-move-page-writeback-sysctls-to-is-own-file.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: Iurii Zaikin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Cc: zhanglianjie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>1 parent 637e47d commit dd11bb8
1 file changed
+49
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
2092 | | - | |
2093 | | - | |
2094 | | - | |
2095 | | - | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
2138 | 2138 | | |
2139 | 2139 | | |
2140 | 2140 | | |
| |||
0 commit comments