Re: [rafael-pm:bleeding-edge 44/52] drivers/cpuidle/cpuidle-psci.c:437:54: error: expected identifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rafael,

On Sat, Apr 12, 2025 at 10:36:41AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> 

[...]

> >> drivers/cpuidle/cpuidle-psci.c:437:54: error: expected identifier
>      437 | module_faux_driver(psci_cpuidle, psci_cpuidle_probe, NULL, true);
>          |                                                      ^
>    include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
>        8 | #define NULL ((void *)0)
>          |              ^
> >> drivers/cpuidle/cpuidle-psci.c:437:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
>      437 | module_faux_driver(psci_cpuidle, psci_cpuidle_probe, NULL, true);
>          | ^
>          | int
> >> drivers/cpuidle/cpuidle-psci.c:437:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
>      437 | module_faux_driver(psci_cpuidle, psci_cpuidle_probe, NULL, true);
>          |                   ^                                            
>          |                                                                void
>    3 errors generated.
> 
> 
> vim +437 drivers/cpuidle/cpuidle-psci.c
> 
>    436	
>  > 437	module_faux_driver(psci_cpuidle, psci_cpuidle_probe, NULL, true);
> 

I think you asked me correctly on v1 [1] to pick up, but I assume with
patchwork, may be you picked up v2 instead. The link in the commit log is
pointing at v2.

-- 
Regards,
Sudeep

[1] https://lore.kernel.org/all/20250317-plat2faux_dev-v1-1-5fe67c085ad5@xxxxxxx/




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux