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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_Jsq+84Ara9+pk=HnZvxA+a2f1OfthSz5dy7zWY5F09feCNQ@mail.gmail.com>
Date: Tue, 15 Oct 2024 09:51:24 -0500
From: Rob Herring <robh@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the devicetree tree

On Tue, Oct 15, 2024 at 12:45 AM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi all,
>
> After merging the devicetree tree, today's linux-next build (powerpc
> allnoconfig) produced this warning:
>
> drivers/of/address.c: In function 'of_pci_range_to_resource':
> drivers/of/address.c:244:45: warning: passing argument 1 of 'pci_register_io_range' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>   244 |                 err = pci_register_io_range(&np->fwnode, range->cpu_addr,
>       |                                             ^~~~~~~~~~~
> In file included from drivers/of/address.c:12:
> include/linux/pci.h:2022:63: note: expected 'struct fwnode_handle *' but argument is of type 'const struct fwnode_handle *'
>  2022 | static inline int pci_register_io_range(struct fwnode_handle *fwnode,
>       |                                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
>
> Introduced by commit
>
>   1957da25d023 ("of: Constify struct device_node function arguments")

Missed the static inline. Now fixed up. Thanks.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ