[android-common:android16-6.12-desktop 1/1] drivers/platform/surface/surface_platform_profile.c:229:9: error: too few arguments to function 'platform_profile_remove'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://android.googlesource.com/kernel/common android16-6.12-desktop head: 24c37396da197463e1ff2bc69bb789e34dacad53 commit: 8842a242e72a30f923d927e0a9bbcc13e40240bc [1/1] BACKPORT: UPSTREAM: ACPI: platform_profile: Add platform handler argument to platform_profile_remove() config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260813/[email protected]/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/20260813/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): drivers/platform/surface/surface_platform_profile.c: In function 'surface_platform_profile_remove': >> drivers/platform/surface/surface_platform_profile.c:229:9: error: too few arguments to function 'platform_profile_remove' 229 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/surface/surface_platform_profile.c:12: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/acer-wmi.c: In function 'acer_platform_probe': >> drivers/platform/x86/acer-wmi.c:2598:17: error: too few arguments to function 'platform_profile_remove' 2598 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/acer-wmi.c:22: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/platform/x86/acer-wmi.c: In function 'acer_platform_remove': drivers/platform/x86/acer-wmi.c:2621:17: error: too few arguments to function 'platform_profile_remove' 2621 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/asus-wmi.c: In function 'asus_wmi_add': >> drivers/platform/x86/asus-wmi.c:4871:17: error: too few arguments to function 'platform_profile_remove' 4871 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/asus-wmi.c:34: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/platform/x86/asus-wmi.c: In function 'asus_wmi_remove': drivers/platform/x86/asus-wmi.c:4898:17: error: too few arguments to function 'platform_profile_remove' 4898 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/ideapad-laptop.c: In function 'ideapad_dytc_profile_exit': >> drivers/platform/x86/ideapad-laptop.c:1152:9: error: too few arguments to function 'platform_profile_remove' 1152 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/ideapad-laptop.c:30: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/thinkpad_acpi.c: In function 'dytc_profile_exit': >> drivers/platform/x86/thinkpad_acpi.c:10701:9: error: too few arguments to function 'platform_profile_remove' 10701 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/thinkpad_acpi.c:60: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/inspur_platform_profile.c: In function 'inspur_wmi_remove': >> drivers/platform/x86/inspur_platform_profile.c:192:9: error: too few arguments to function 'platform_profile_remove' 192 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/inspur_platform_profile.c:11: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/dell/dell-pc.c: In function 'thermal_cleanup': >> drivers/platform/x86/dell/dell-pc.c:275:17: error: too few arguments to function 'platform_profile_remove' 275 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/dell/dell-pc.c:20: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ -- drivers/platform/x86/hp/hp-wmi.c: In function 'hp_wmi_bios_remove': >> drivers/platform/x86/hp/hp-wmi.c:1694:17: error: too few arguments to function 'platform_profile_remove' 1694 | platform_profile_remove(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/platform/x86/hp/hp-wmi.c:24: include/linux/platform_profile.h:40:5: note: declared here 40 | int platform_profile_remove(struct platform_profile_handler *pprof); | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/platform_profile_remove +229 drivers/platform/surface/surface_platform_profile.c b78b4982d7637ed Maximilian Luz 2021-02-11 226 b78b4982d7637ed Maximilian Luz 2021-02-11 227 static void surface_platform_profile_remove(struct ssam_device *sdev) b78b4982d7637ed Maximilian Luz 2021-02-11 228 { b78b4982d7637ed Maximilian Luz 2021-02-11 @229 platform_profile_remove(); b78b4982d7637ed Maximilian Luz 2021-02-11 230 } b78b4982d7637ed Maximilian Luz 2021-02-11 231 :::::: The code at line 229 was first introduced by commit :::::: b78b4982d7637ededbc40b5f4aa59394acee8a60 platform/surface: Add platform profile driver :::::: TO: Maximilian Luz <[email protected]> :::::: CC: Hans de Goede <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki