Re: linux-next: Tree for Nov 19 (drivers/edac/igen6_edac.c)

From: Randy Dunlap
Date: Thu Nov 19 2020 - 11:49:57 EST


On 11/18/20 10:08 PM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20201118:
>

on x86_64:

../drivers/edac/igen6_edac.c: In function ‘ecclog_nmi_handler’:
../drivers/edac/igen6_edac.c:525:10: error: ‘NMI_DONE’ undeclared (first use in this function); did you mean ‘DMI_NONE’?
return NMI_DONE;
^~~~~~~~
DMI_NONE
../drivers/edac/igen6_edac.c:525:10: note: each undeclared identifier is reported only once for each function it appears in
../drivers/edac/igen6_edac.c:540:9: error: ‘NMI_HANDLED’ undeclared (first use in this function); did you mean ‘IRQ_HANDLED’?
return NMI_HANDLED;
^~~~~~~~~~~
IRQ_HANDLED
../drivers/edac/igen6_edac.c: In function ‘igen6_probe’:
../drivers/edac/igen6_edac.c:895:7: error: implicit declaration of function ‘register_nmi_handler’; did you mean ‘ecclog_nmi_handler’? [-Werror=implicit-function-declaration]
rc = register_nmi_handler(NMI_SERR, ecclog_nmi_handler,
^~~~~~~~~~~~~~~~~~~~
ecclog_nmi_handler
../drivers/edac/igen6_edac.c:895:28: error: ‘NMI_SERR’ undeclared (first use in this function); did you mean ‘IS_ERR’?
rc = register_nmi_handler(NMI_SERR, ecclog_nmi_handler,
^~~~~~~~
IS_ERR
../drivers/edac/igen6_edac.c:912:2: error: implicit declaration of function ‘unregister_nmi_handler’; did you mean ‘unregister_chrdev’? [-Werror=implicit-function-declaration]
unregister_nmi_handler(NMI_SERR, IGEN6_NMI_NAME);
^~~~~~~~~~~~~~~~~~~~~~
unregister_chrdev
../drivers/edac/igen6_edac.c: In function ‘igen6_remove’:
../drivers/edac/igen6_edac.c:928:25: error: ‘NMI_SERR’ undeclared (first use in this function); did you mean ‘IS_ERR’?
unregister_nmi_handler(NMI_SERR, IGEN6_NMI_NAME);
^~~~~~~~
IS_ERR
cc1: some warnings being treated as errors


Full randconfig file is attached.

--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Attachment: config-r6290.xz
Description: application/xz