All of lore.kernel.org
 help / color / mirror / Atom feed
* [daveh-devel:kss 29/32] arch/x86/kernel/process.c:179:23: warning: 'task_kshstk_top' defined but not used
@ 2026-10-18 21:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-18 21:33 UTC (permalink / raw)
  To: Dave Hansen; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git kss
head:   1b2e2aefa6c7e3d15fac1b25a971b2d2cc3b697d
commit: 0d406ff1f7a5af1161792f0810bd786d75e57057 [29/32] define-SHSTK_TOKEN_MODE64
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20261019/202610190526.6He4UAyv-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/20261019/202610190526.6He4UAyv-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/202610190526.6He4UAyv-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/process.c:179:23: warning: 'task_kshstk_top' defined but not used [-Wunused-function]
     179 | static unsigned long *task_kshstk_top(struct task_struct *tsk)
         |                       ^~~~~~~~~~~~~~~
>> arch/x86/kernel/process.c:175:23: warning: 'task_kshstk_base' defined but not used [-Wunused-function]
     175 | static unsigned long *task_kshstk_base(struct task_struct *tsk)
         |                       ^~~~~~~~~~~~~~~~


vim +/task_kshstk_top +179 arch/x86/kernel/process.c

   174	
 > 175	static unsigned long *task_kshstk_base(struct task_struct *tsk)
   176	{
   177		return (unsigned long *)&task_thread_union(tsk)->stacks.shadow_stack[0];
   178	}
 > 179	static unsigned long *task_kshstk_top(struct task_struct *tsk)
   180	{
   181		return (unsigned long *)&task_thread_union(tsk)->stacks.shadow_stack[TASK_SHADOW_STACK_SIZE / sizeof(unsigned long)];
   182	}
   183	

--
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:[~2026-10-18 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-18 21:33 [daveh-devel:kss 29/32] arch/x86/kernel/process.c:179:23: warning: 'task_kshstk_top' defined but not used 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.