lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f0d576b6-7204-0caf-1ca8-aae6c82d3b8d@infradead.org>
Date:   Mon, 10 Feb 2020 23:06:05 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Platform Driver <platform-driver-x86@...r.kernel.org>,
        Rajneesh Bhardwaj <rajneesh.bhardwaj@...el.com>,
        Vishwanath Somayaji <vishwanath.somayaji@...el.com>
Subject: Re: linux-next: Tree for Feb 11
 (drivers/platform/x86/intel_pmc_core.c)

On 2/10/20 6:00 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20200210:
> 

on i386:

Function args are reversed (offset and status);

../drivers/platform/x86/intel_pmc_core.c: In function 'pmc_core_resume':
../drivers/platform/x86/intel_pmc_core.c:1329:43: warning: passing argument 4 of 'pmc_core_lpm_display' makes integer from pointer without a cast [-Wint-conversion]
   pmc_core_lpm_display(pmcdev, dev, NULL, "STATUS", offset, maps);
                                           ^~~~~~~~
../drivers/platform/x86/intel_pmc_core.c:977:13: note: expected 'u32 {aka unsigned int}' but argument is of type 'char *'
 static void pmc_core_lpm_display(struct pmc_dev *pmcdev, struct device *dev,
             ^~~~~~~~~~~~~~~~~~~~
../drivers/platform/x86/intel_pmc_core.c:1329:53: warning: passing argument 5 of 'pmc_core_lpm_display' makes pointer from integer without a cast [-Wint-conversion]
   pmc_core_lpm_display(pmcdev, dev, NULL, "STATUS", offset, maps);
                                                     ^~~~~~
../drivers/platform/x86/intel_pmc_core.c:977:13: note: expected 'const char *' but argument is of type 'int'
 static void pmc_core_lpm_display(struct pmc_dev *pmcdev, struct device *dev,
             ^~~~~~~~~~~~~~~~~~~~


-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@...radead.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ