[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211005123541.5614abd8@canb.auug.org.au>
Date: Tue, 5 Oct 2021 12:35:41 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>
Cc: Jakub Kicinski <kuba@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>
Subject: Re: linux-next: build failure after merge of the net-next tree
Hi all,
On Tue, 5 Oct 2021 12:24:07 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi all,
>
> On Tue, 5 Oct 2021 11:56:37 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> >
> > After merging the net-next tree, today's linux-next build (powerpc
> > ppc64_defconfig) failed like this:
> >
> > drivers/net/ethernet/ibm/ehea/ehea_main.c: In function 'ehea_setup_single_port':
> > drivers/net/ethernet/ibm/ehea/ehea_main.c:2989:23: error: passing argument 2 of 'eth_hw_addr_set' from incompatible pointer type [-Werror=incompatible-pointer-types]
> > 2989 | eth_hw_addr_set(dev, &port->mac_addr);
> > | ^~~~~~~~~~~~~~~
> > | |
> > | u64 * {aka long long unsigned int *}
> > In file included from include/linux/if_vlan.h:11,
> > from include/linux/filter.h:19,
> > from include/net/sock.h:59,
> > from include/linux/tcp.h:19,
> > from drivers/net/ethernet/ibm/ehea/ehea_main.c:20:
> > include/linux/etherdevice.h:309:70: note: expected 'const u8 *' {aka 'const unsigned char *'} but argument is of type 'u64 *' {aka 'long long unsigned int *'}
> > 309 | static inline void eth_hw_addr_set(struct net_device *dev, const u8 *addr)
> > | ~~~~~~~~~~^~~~
> > cc1: some warnings being treated as errors
> >
> > Caused by commit
> >
> > a96d317fb1a3 ("ethernet: use eth_hw_addr_set()")
> >
> > I have used the net-next tree from next-20211001 for today.
>
> I also had to use the next-20211001 version if the bpf-next tree (since
> it had been reset past the broken commit in the net-next tree).
And the bluetooth tree similarly.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists