2020-05-25 12:43:31

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the net-next tree

Hi all,

After merging the net-next tree, today's linux-next build (sparc64
defconfig) produced this warning:

drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning: 'e1000e_check_me' defined but not used [-Wunused-function]
static bool e1000e_check_me(u16 device_id)
^~~~~~~~~~~~~~~

Introduced by commit

e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems")

CONFIG_PM_SLEEP is not set for this build.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-05-27 04:35:50

by Jeff Kirsher

[permalink] [raw]
Subject: RE: linux-next: build warning after merge of the net-next tree

> -----Original Message-----
> From: Stephen Rothwell <[email protected]>
> Sent: Monday, May 25, 2020 05:40
> To: David Miller <[email protected]>; Networking
> <[email protected]>
> Cc: Linux Next Mailing List <[email protected]>; Linux Kernel Mailing
> List <[email protected]>; Lifshits, Vitaly <[email protected]>;
> Kirsher, Jeffrey T <[email protected]>
> Subject: linux-next: build warning after merge of the net-next tree
>
> Hi all,
>
> After merging the net-next tree, today's linux-next build (sparc64
> defconfig) produced this warning:
>
> drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning: 'e1000e_check_me'
> defined but not used [-Wunused-function] static bool e1000e_check_me(u16
> device_id)
> ^~~~~~~~~~~~~~~
>
> Introduced by commit
>
> e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems")
>
> CONFIG_PM_SLEEP is not set for this build.
>
[Kirsher, Jeffrey T]

Vitaly informed me that he has a fix that he will be sending me, I will make sure to expedite it.

2020-06-13 01:18:56

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the net-next tree

Hi all,

On Wed, 27 May 2020 01:15:09 +0000 "Kirsher, Jeffrey T" <[email protected]> wrote:
>
> > -----Original Message-----
> > From: Stephen Rothwell <[email protected]>
> > Sent: Monday, May 25, 2020 05:40
> > To: David Miller <[email protected]>; Networking
> > <[email protected]>
> > Cc: Linux Next Mailing List <[email protected]>; Linux Kernel Mailing
> > List <[email protected]>; Lifshits, Vitaly <[email protected]>;
> > Kirsher, Jeffrey T <[email protected]>
> > Subject: linux-next: build warning after merge of the net-next tree
> >
> > Hi all,
> >
> > After merging the net-next tree, today's linux-next build (sparc64
> > defconfig) produced this warning:
> >
> > drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning: 'e1000e_check_me'
> > defined but not used [-Wunused-function] static bool e1000e_check_me(u16
> > device_id)
> > ^~~~~~~~~~~~~~~
> >
> > Introduced by commit
> >
> > e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems")
> >
> > CONFIG_PM_SLEEP is not set for this build.
> >
> [Kirsher, Jeffrey T]
>
> Vitaly informed me that he has a fix that he will be sending me, I will make sure to expedite it.

I am still getting this warning.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-06-13 01:21:50

by Jeff Kirsher

[permalink] [raw]
Subject: RE: linux-next: build warning after merge of the net-next tree

> -----Original Message-----
> From: Stephen Rothwell <[email protected]>
> Sent: Friday, June 12, 2020 18:16
> To: Kirsher, Jeffrey T <[email protected]>
> Cc: David Miller <[email protected]>; Networking
> <[email protected]>; Linux Next Mailing List <linux-
> [email protected]>; Linux Kernel Mailing List <linux-
> [email protected]>; Lifshits, Vitaly <[email protected]>
> Subject: Re: linux-next: build warning after merge of the net-next tree
>
> Hi all,
>
> On Wed, 27 May 2020 01:15:09 +0000 "Kirsher, Jeffrey T"
> <[email protected]> wrote:
> >
> > > -----Original Message-----
> > > From: Stephen Rothwell <[email protected]>
> > > Sent: Monday, May 25, 2020 05:40
> > > To: David Miller <[email protected]>; Networking
> > > <[email protected]>
> > > Cc: Linux Next Mailing List <[email protected]>; Linux
> > > Kernel Mailing List <[email protected]>; Lifshits, Vitaly
> > > <[email protected]>; Kirsher, Jeffrey T
> > > <[email protected]>
> > > Subject: linux-next: build warning after merge of the net-next tree
> > >
> > > Hi all,
> > >
> > > After merging the net-next tree, today's linux-next build (sparc64
> > > defconfig) produced this warning:
> > >
> > > drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning:
> 'e1000e_check_me'
> > > defined but not used [-Wunused-function] static bool
> > > e1000e_check_me(u16
> > > device_id)
> > > ^~~~~~~~~~~~~~~
> > >
> > > Introduced by commit
> > >
> > > e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME
> > > systems")
> > >
> > > CONFIG_PM_SLEEP is not set for this build.
> > >
> > [Kirsher, Jeffrey T]
> >
> > Vitaly informed me that he has a fix that he will be sending me, I will make
> sure to expedite it.
>
> I am still getting this warning.

I apologize, I have not seen a fix from Vitaly, that I am aware of. I will make sure you have a patch before Monday.