mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
compiler-context-analysys: Fix CONFIG_MODVERSION
The robot reported CONFIG_MODVERSION fails; which Nathan described as so: > Something about the context analysis makes genksyms fall over, running > it manually on kernel/sched/core.i with '-w' to show warnings reveals > many new "syntax error" instances. I don't see any warnings when using > gendwarfksyms. Maybe it is context_lock_struct, as that is the first > error I see in the list: > > include/linux/spinlock_types_raw.h:14: syntax error Reported-by: kernel test robot <lkp@intel.com> Debugged-by: Nathan Chancellor <nathan@kernel.org> Closes: https://lore.kernel.org/oe-kbuild-all/202512222219.F6EkVNmQ-lkp@intel.com/ Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/aV7fxXjaOBtHhI9X@elver.google.com
This commit is contained in:
committed by
Peter Zijlstra
parent
0e2036a06d
commit
4d26d4a158
@@ -6,7 +6,7 @@
|
||||
#ifndef _LINUX_COMPILER_CONTEXT_ANALYSIS_H
|
||||
#define _LINUX_COMPILER_CONTEXT_ANALYSIS_H
|
||||
|
||||
#if defined(WARN_CONTEXT_ANALYSIS) && !defined(__CHECKER__)
|
||||
#if defined(WARN_CONTEXT_ANALYSIS) && !defined(__CHECKER__) && !defined(__GENKSYMS__)
|
||||
|
||||
/*
|
||||
* These attributes define new context lock (Clang: capability) types.
|
||||
|
||||
Reference in New Issue
Block a user