Skip to content

Instantly share code, notes, and snippets.

@conor-pwbot
Created March 27, 2023 23:26
Show Gist options
  • Save conor-pwbot/e68528e48368e5d27a6961a219ce9d17 to your computer and use it in GitHub Desktop.
Save conor-pwbot/e68528e48368e5d27a6961a219ce9d17 to your computer and use it in GitHub Desktop.
CHECK: spaces preferred around that '+' (ctx:VxV)
ERROR: space required after that ',' (ctx:VxV)
==========
checkpatch - FAILED
ERROR: space required after that ',' (ctx:VxV)
#40: FILE: arch/parisc/include/asm/cacheflush.h:36:
+#define clean_kernel_dcache_range(start,size) \
^
CHECK: spaces preferred around that '+' (ctx:VxV)
#44: FILE: arch/parisc/include/asm/cacheflush.h:39:
+ flush_kernel_dcache_range_asm((start), (start)+(size))
^
ERROR: space required after that ',' (ctx:VxV)
#45: FILE: arch/parisc/include/asm/cacheflush.h:40:
+#define purge_kernel_dcache_range(start,size) \
^
CHECK: spaces preferred around that '+' (ctx:VxV)
#46: FILE: arch/parisc/include/asm/cacheflush.h:41:
+ purge_kernel_dcache_range_asm((start), (start)+(size))
^
total: 2 errors, 0 warnings, 2 checks, 47 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.
Commit 63c3d74cb264 ("parisc: dma-mapping: use regular flush/invalidate ops") has style problems, please review.
NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment