Skip to content

Commit a29ee07

Browse files
akpm00sfrothwell
authored andcommitted
mm-frontswap-convert-frontswap_enabled-to-static-key-checkpatch-fixes
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) torvalds#17: Thus, checks for "frontswap_enabled" are replaced with "frontswap_enabled()" WARNING: space prohibited between function name and open parenthesis '(' torvalds#208: FILE: mm/frontswap.c:255: + VM_BUG_ON (!frontswap_ops); total: 0 errors, 2 warnings, 188 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/mm-frontswap-convert-frontswap_enabled-to-static-key.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: "Kirill A. Shutemov" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent aff4dae commit a29ee07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/frontswap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ int __frontswap_store(struct page *page)
252252
pgoff_t offset = swp_offset(entry);
253253
struct frontswap_ops *ops;
254254

255-
VM_BUG_ON (!frontswap_ops);
255+
VM_BUG_ON(!frontswap_ops);
256256
VM_BUG_ON(!PageLocked(page));
257257
VM_BUG_ON(sis == NULL);
258258

0 commit comments

Comments
 (0)