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: <20241107120716.rkymr4sedc5co2nx@thinkpad>
Date: Thu, 7 Nov 2024 12:07:16 +0000
From: Manivannan Sadhasivam <mani@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
	Lorenzo Pieralisi <lpieralisi@...nel.org>,
	Krzysztof Wilczyński <kw@...ux.com>,
	Krzysztof Wilczyński <kwilczynski@...nel.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the pci tree

On Thu, Nov 07, 2024 at 11:02:31PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the pci tree, today's linux-next build (i386 defconfig)
> failed like this:
> 
> In file included from drivers/pci/msi/pcidev_msi.c:5:
> drivers/pci/msi/../pci.h:862:1: error: expected identifier or '(' before '{' token
>   862 | {
>       | ^
> drivers/pci/msi/../pci.h:861:20: error: 'of_pci_is_supply_present' declared 'static' but never defined [-Werror=unused-function]
>   861 | static inline bool of_pci_is_supply_present(struct device_node *np);
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~

That's silly on me. Krzysztof, could you please fix it in the branch?

- Mani

> cc1: all warnings being treated as errors
> 
> Caused by commit
> 
>   0a93ef0a2d90 ("PCI/pwrctl: Create pwrctl devices only if at least one power supply is present")
> 
> I have applied the following patch for today.
> 
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Thu, 7 Nov 2024 22:53:24 +1100
> Subject: [PATCH] fixup for "PCI/pwrctl: Create pwrctl devices only if at least
>  one power supply is present"
> 
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
>  drivers/pci/pci.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
> index 345db6844690..7dc82eac5b04 100644
> --- a/drivers/pci/pci.h
> +++ b/drivers/pci/pci.h
> @@ -858,7 +858,7 @@ static inline int devm_of_pci_bridge_init(struct device *dev, struct pci_host_br
>  	return 0;
>  }
>  
> -static inline bool of_pci_is_supply_present(struct device_node *np);
> +static inline bool of_pci_is_supply_present(struct device_node *np)
>  {
>  	return false;
>  }
> -- 
> 2.45.2
> 
> -- 
> Cheers,
> Stephen Rothwell



-- 
மணிவண்ணன் சதாசிவம்

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ