Re: linux-next: build warning after merge of the net-next tree

From: Stephen Rothwell
Date: Sat Jul 07 2018 - 08:03:52 EST


Hi Dave,

On Sat, 07 Jul 2018 20:30:16 +0900 (KST) David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Fri, 6 Jul 2018 09:56:33 +1000
>
> > After merging the net-next tree, today's linux-next build (arm
> > multi_v7_defconfig) produced this warning:
> >
> > In file included from include/net/dsa.h:24:0,
> > from include/linux/platform_data/b53.h:23,
> > from drivers/net/dsa/b53/b53_spi.c:25:
> > include/net/devlink.h: In function 'devlink_param_value_changed':
> > include/net/devlink.h:771:9: warning: 'return' with a value, in function returning void
> > return -EOPNOTSUPP;
> > ^
> > include/net/devlink.h:769:1: note: declared here
> > devlink_param_value_changed(struct devlink *devlink, u32 param_id)
> ...
> > Introduced by commit
> >
> > ea601e170988 ("devlink: Add devlink notifications support for params")
>
> Thanks Stephen, this should be fixes now.

Great, thanks.

--
Cheers,
Stephen Rothwell

Attachment: pgpjDzLYNas7j.pgp
Description: OpenPGP digital signature