Commit b4a0b4f
mpage-add-argument-structure-for-do_mpage_readpage-checkpatch-fixes
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
torvalds#49: FILE: fs/mpage.c:139:
+ unsigned nr_pages;
WARNING: line over 80 characters
torvalds#96: FILE: fs/mpage.c:190:
+ if (buffer_mapped(map_bh) && block_in_file > args->first_logical_block &&
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
torvalds#98: FILE: fs/mpage.c:192:
+ unsigned map_offset = block_in_file - args->first_logical_block;
WARNING: line over 80 characters
torvalds#135: FILE: fs/mpage.c:296:
+ min_t(int, args->nr_pages, BIO_MAX_PAGES), args->gfp);
ERROR: code indent should use tabs where possible
torvalds#169: FILE: fs/mpage.c:321:
+^I block_read_full_page(page, args->get_block);$
total: 1 errors, 4 warnings, 196 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/mpage-add-argument-structure-for-do_mpage_readpage.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
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>1 parent f96975e commit b4a0b4f
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
296 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
| |||
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
321 | | - | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
0 commit comments