tree: https://github.com/mchinth/linux sep_linux_v6.0-rc7 head: 4c704363910aa00df3243bcb1658edf3fb9919c9 commit: 4c704363910aa00df3243bcb1658edf3fb9919c9 [2/2] Merge SEP5.36 into Linux tree config: i386-randconfig-s001 compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/mchinth/linux/commit/4c704363910aa00df3243bcb1658edf3fb9919c9 git remote add mchinth https://github.com/mchinth/linux git fetch --no-tags mchinth sep_linux_v6.0-rc7 git checkout 4c704363910aa00df3243bcb1658edf3fb9919c9 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/platform/x86/sepdk/pax/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/platform/x86/sepdk/pax/pax.c:678:1: sparse: sparse: function 'pax_Service_IOCTL' with external linkage has definition drivers/platform/x86/sepdk/pax/pax.c:717:1: sparse: sparse: function 'pax_Device_Control' with external linkage has definition drivers/platform/x86/sepdk/pax/pax.c:841:1: sparse: sparse: function 'pax_Load' with external linkage has definition drivers/platform/x86/sepdk/pax/pax.c:918:1: sparse: sparse: function 'pax_Unload' with external linkage has definition drivers/platform/x86/sepdk/pax/pax.c:79:25: sparse: sparse: symbol 'pax_control' was not declared. Should it be static? drivers/platform/x86/sepdk/pax/pax.c:90:4: sparse: sparse: symbol 'nmi_watchdog_restore' was not declared. Should it be static? drivers/platform/x86/sepdk/pax/pax.c:92:23: sparse: sparse: symbol 'pax_version_file' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:162:20: sparse: sparse: symbol 'pax_Enable_NMIWatchdog_Thread' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:163:21: sparse: sparse: symbol 'pax_Enable_NMIWatchdog_Sem' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:164:20: sparse: sparse: symbol 'pax_Disable_NMIWatchdog_Thread' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:165:21: sparse: sparse: symbol 'pax_Disable_NMIWatchdog_Sem' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:180:1: sparse: sparse: symbol 'pax_Disable_NMIWatchdog' was not declared. Should it be static? >> drivers/platform/x86/sepdk/pax/pax.c:249:1: sparse: sparse: symbol 'pax_Enable_NMIWatchdog' was not declared. Should it be static? drivers/platform/x86/sepdk/pax/pax.c:453:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct PAX_INFO_NODE_S [usertype] * @@ drivers/platform/x86/sepdk/pax/pax.c:453:31: sparse: expected void [noderef] __user *to drivers/platform/x86/sepdk/pax/pax.c:453:31: sparse: got struct PAX_INFO_NODE_S [usertype] * drivers/platform/x86/sepdk/pax/pax.c:496:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct PAX_STATUS_NODE_S [usertype] * @@ drivers/platform/x86/sepdk/pax/pax.c:496:31: sparse: expected void [noderef] __user *to drivers/platform/x86/sepdk/pax/pax.c:496:31: sparse: got struct PAX_STATUS_NODE_S [usertype] * drivers/platform/x86/sepdk/pax/pax.c:678:1: sparse: sparse: symbol 'pax_Service_IOCTL' was not declared. Should it be static? drivers/platform/x86/sepdk/pax/pax.c:725:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct IOCTL_ARGS_NODE_S [usertype] *[usertype] @@ drivers/platform/x86/sepdk/pax/pax.c:725:55: sparse: expected void const [noderef] __user *from drivers/platform/x86/sepdk/pax/pax.c:725:55: sparse: got struct IOCTL_ARGS_NODE_S [usertype] *[usertype] drivers/platform/x86/sepdk/pax/pax.c:717:1: sparse: sparse: symbol 'pax_Device_Control' was not declared. Should it be static? -- 0-DAY CI Kernel Test Service https://01.org/lkp