Re: [pm:bleeding-edge 126/127] drivers/base/power/domain.c:2434:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int'

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

 



On 24-05-18, 18:25, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
> head:   34ae5d53ec5963e3f2967fcd12bae44decbfc4c0
> commit: 07cebb5e726d519b7de0373ade62465c2ebdd355 [126/127] PM / domains: Return 0 on error from of_genpd_opp_to_performance_state()
> config: x86_64-randconfig-x019-201820 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
> reproduce:
>         git checkout 07cebb5e726d519b7de0373ade62465c2ebdd355
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/base/power/domain.c: In function 'of_genpd_opp_to_performance_state':
> >> drivers/base/power/domain.c:2434:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
>       dev_err(dev, "Failed to find required OPP: %d\n", PTR_ERR(opp));
>                                                  ~^     ~~~~~~~~~~~~
>                                                  %ld
> 
> vim +2434 drivers/base/power/domain.c

Sent a fix for that. Thanks.

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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