* [ammarfaizi2-block:stable/linux-stable-rc/queue/5.4 117/130] arch/ia64/kernel/mca_drv.c:179:9: error: implicit declaration of function 'make_task_dead'
@ 2023-02-03 16:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-03 16:34 UTC (permalink / raw)
To: Eric W. Biederman
Cc: oe-kbuild-all, Ammar Faizi, GNU/Weeb Mailing List, Sasha Levin,
Eric Biggers
tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.4
head: ca063b9ad3a34ec08e420c8a92b5da1ef2c7e097
commit: 688f9f4af16cbd6ce48f9a6be509e2328e8fcb7a [117/130] exit: Add and use make_task_dead.
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20230204/[email protected]/config)
compiler: ia64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/688f9f4af16cbd6ce48f9a6be509e2328e8fcb7a
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.4
git checkout 688f9f4af16cbd6ce48f9a6be509e2328e8fcb7a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
arch/ia64/kernel/mca_drv.c: In function 'fatal_mca':
arch/ia64/kernel/mca_drv.c:84:9: warning: function 'fatal_mca' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
84 | vsnprintf(buf, sizeof(buf), fmt, args);
| ^~~~~~~~~
arch/ia64/kernel/mca_drv.c: In function 'mca_recovered':
arch/ia64/kernel/mca_drv.c:98:9: warning: function 'mca_recovered' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
98 | vsnprintf(buf, sizeof(buf), fmt, args);
| ^~~~~~~~~
arch/ia64/kernel/mca_drv.c: In function 'mca_handler_bh':
>> arch/ia64/kernel/mca_drv.c:179:9: error: implicit declaration of function 'make_task_dead' [-Werror=implicit-function-declaration]
179 | make_task_dead(SIGKILL);
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on [n]: DEBUG_KERNEL [=y] && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS [=n]
Selected by [y]:
- FAULT_INJECTION_STACKTRACE_FILTER [=y] && FAULT_INJECTION_DEBUG_FS [=y] && STACKTRACE_SUPPORT [=y] && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
vim +/make_task_dead +179 arch/ia64/kernel/mca_drv.c
149
150 /**
151 * mca_hanlder_bh - Kill the process which occurred memory read error
152 * @paddr: poisoned address received from MCA Handler
153 */
154
155 void
156 mca_handler_bh(unsigned long paddr, void *iip, unsigned long ipsr)
157 {
158 ia64_mlogbuf_dump();
159 printk(KERN_ERR "OS_MCA: process [cpu %d, pid: %d, uid: %d, "
160 "iip: %p, psr: 0x%lx,paddr: 0x%lx](%s) encounters MCA.\n",
161 raw_smp_processor_id(), current->pid,
162 from_kuid(&init_user_ns, current_uid()),
163 iip, ipsr, paddr, current->comm);
164
165 spin_lock(&mca_bh_lock);
166 switch (mca_page_isolate(paddr)) {
167 case ISOLATE_OK:
168 printk(KERN_DEBUG "Page isolation: ( %lx ) success.\n", paddr);
169 break;
170 case ISOLATE_NG:
171 printk(KERN_CRIT "Page isolation: ( %lx ) failure.\n", paddr);
172 break;
173 default:
174 break;
175 }
176 spin_unlock(&mca_bh_lock);
177
178 /* This process is about to be killed itself */
> 179 make_task_dead(SIGKILL);
180 }
181
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-03 16:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 16:34 [ammarfaizi2-block:stable/linux-stable-rc/queue/5.4 117/130] arch/ia64/kernel/mca_drv.c:179:9: error: implicit declaration of function 'make_task_dead' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox