[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tencent_B02B6BED124665ED9563140A71C1004D0805@qq.com>
Date: Tue, 25 Jul 2023 21:38:48 +0800
From: Rong Tao <rtoax@...mail.com>
To: mcgrof@...nel.org
Cc: ast@...nel.org, frederic@...nel.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, mbenes@...e.cz, mhiramat@...nel.org,
pmladek@...e.com, prasad@...ux.vnet.ibm.com, qperret@...gle.com,
rongtao@...tc.cn, rtoax@...mail.com, tglx@...utronix.de,
will@...nel.org
Subject: Re: [PATCH] samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
Hi Luis
The 'kernel test robot' report an error [0]:
>> samples/hw_breakpoint/data_breakpoint.c:73:2: error: call to undeclared function '__symbol_put';
ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
__symbol_put(ksym_name);
^
samples/hw_breakpoint/data_breakpoint.c:73:2: note: did you mean '__symbol_get'?
include/linux/module.h:301:7: note: '__symbol_get' declared here
void *__symbol_get(const char *symbol);
^
1 error generated.
Do I need to do something? It seems that no changes need to be made from the
mainline code.
[0] https://lore.kernel.org/oe-kbuild-all/202307250926.06DQZjVe-lkp@intel.com/
Rong
Powered by blists - more mailing lists