* [melver:ctx-analysis/dev 22/36] arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined
@ 2025-12-19 3:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-19 3:44 UTC (permalink / raw)
To: elver; +Cc: oe-kbuild-all
Hi Marco,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/melver/linux.git ctx-analysis/dev
head: 3b4ba9b3b7c8365712656e62d0ca5a09504b5074
commit: 984de4f8d618b9302bf2f459e217768752f39a69 [22/36] um: Fix incorrect __acquires/__releases annotations
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20251219/202512191123.9wHzO2Xe-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251219/202512191123.9wHzO2Xe-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512191123.9wHzO2Xe-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/um/include/asm/mmu.h:12,
from include/linux/mm_types.h:26,
from include/linux/mmzone.h:22,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/crypto.h:18,
from arch/um/kernel/asm-offsets.c:6:
>> arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined [-Wunused-function]
25 | static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
| ^~~~~~~~~~~~~~~
--
In file included from arch/um/include/asm/mmu.h:12,
from include/linux/mm_types.h:26,
from include/linux/mmzone.h:22,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/crypto.h:18,
from arch/um/kernel/asm-offsets.c:6:
>> arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined [-Wunused-function]
25 | static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
| ^~~~~~~~~~~~~~~
In file included from arch/um/include/asm/mmu.h:12,
from include/linux/mm_types.h:26,
from include/linux/sched/mm.h:8,
from kernel/sched/sched.h:15,
from kernel/sched/rq-offsets.c:5:
>> arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined [-Wunused-function]
25 | static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
| ^~~~~~~~~~~~~~~
--
In file included from arch/um/include/asm/mmu.h:12,
from include/linux/mm_types.h:26,
from include/linux/mmzone.h:22,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/crypto.h:18,
from arch/um/kernel/asm-offsets.c:6:
>> arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined [-Wunused-function]
25 | static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
| ^~~~~~~~~~~~~~~
In file included from arch/um/include/asm/mmu.h:12,
from include/linux/mm_types.h:26,
from include/linux/sched/mm.h:8,
from kernel/sched/sched.h:15,
from kernel/sched/rq-offsets.c:5:
>> arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined [-Wunused-function]
25 | static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
| ^~~~~~~~~~~~~~~
vim +25 arch/um/include/shared/skas/mm_id.h
23
24 /* Internal linkage; declared here for below context analysis annotations. */
> 25 static inline struct mutex *__get_turnstile(struct mm_id *mm_id);
26
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-19 3:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 3:44 [melver:ctx-analysis/dev 22/36] arch/um/include/shared/skas/mm_id.h:25:29: warning: '__get_turnstile' declared 'static' but never defined kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.