Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Jun 5, 2017 – Jun 15, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Wolfram,

After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
#define DEBUG
^
<command-line>:0:0: note: this is the location of the previous definition

Introduced by commit

6c42778780c4 ("i2c: stub: use pr_fmt")

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

Hi Wolfram,

Quoted 4 lines · On Mon, 5 Jun 2017 11:11:31 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Quoted 8 lines

drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
#define DEBUG
^
<command-line>:0:0: note: this is the location of the previous definition

Introduced by commit

6c42778780c4 ("i2c: stub: use pr_fmt")

I am still getting this ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 10 lines
Quoted 8 lines

drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
#define DEBUG
^
<command-line>:0:0: note: this is the location of the previous definition

Introduced by commit

6c42778780c4 ("i2c: stub: use pr_fmt")

I am still getting this ...

Sorry, that slipped through the cracks, will fix today!

Thanks for the reminder.

#3 lore raw

Hi Wolfram,

Quoted 6 lines · On Thu, 15 Jun 2017 09:02:44 +0200 Wolfram Sang <[email protected]> wrote:
Quoted 6 lines
Quoted 6 lines

drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
#define DEBUG
^
<command-line>:0:0: note: this is the location of the previous definition

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Introduced by commit

6c42778780c4 ("i2c: stub: use pr_fmt")

I am still getting this ...

Sorry, that slipped through the cracks, will fix today!

Thanks.

Quoted 1 line

Thanks for the reminder.

I am trying to be more proactive with these things.

Signature · 2 lines
Cheers,
Stephen Rothwell