Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages May 25, 2020 – Jun 13, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 18 lines

-----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)

Quoted 8 lines
             ^~~~~~~~~~~~~~~

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.

#2 lore raw

Hi all,

Quoted 23 lines · Jeffrey T
Quoted 23 lines

-----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

Quoted 7 lines
Quoted 4 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 43 lines

-----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,

Quoted 12 lines · Jeffrey T
Quoted 12 lines

-----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

Quoted 6 lines
Quoted 6 lines

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'

Quoted 10 lines
Quoted 10 lines

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")

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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.