Skip to contentSkip to conversation

linux-next: manual merge of the counters tree with the ipmi tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Oct 12, 2020 – Oct 15, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the counters tree got a conflict in:

drivers/char/ipmi/ipmi_msghandler.c

between commit:

f8910ffa81b0 ("ipmi:msghandler: retry to get device id on an error")

from the ipmi tree and commit:

dc87264ac991 ("drivers/char/ipmi: convert stats to use counter_atomic32")

from the counters tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 15 lines
Cheers,
Stephen Rothwell

diff --cc drivers/char/ipmi/ipmi_msghandler.c
index 8774a3b8ff95,36c0b1be22fb..000000000000
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@@ -34,7 -34,7 +34,8 @@@
  #include <linux/uuid.h>
  #include <linux/nospec.h>
  #include <linux/vmalloc.h>
 +#include <linux/delay.h>
+ #include <linux/counters.h>
  
  #define IPMI_DRIVER_VERSION "39.2"
#1 lore raw

Hi all,

Quoted 28 lines · On Mon, 12 Oct 2020 19:13:40 +1100 Stephen Rothwell <[email protected]>…

Today's linux-next merge of the counters tree got a conflict in:

drivers/char/ipmi/ipmi_msghandler.c

between commit:

f8910ffa81b0 ("ipmi:msghandler: retry to get device id on an error")

from the ipmi tree and commit:

dc87264ac991 ("drivers/char/ipmi: convert stats to use counter_atomic32")

from the counters tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

drivers/char/ipmi/ipmi_msghandler.c +0 -0
diff --cc drivers/char/ipmi/ipmi_msghandler.c
index 8774a3b8ff95,36c0b1be22fb..000000000000

drivers/char/ipmi/ipmi_msghandler.c

Quoted 7 lines
drivers/char/ipmi/ipmi_msghandler.c +1 -0
@@@ -34,7 -34,7 +34,8 @@@
  #include <linux/uuid.h>
  #include <linux/nospec.h>
  #include <linux/vmalloc.h>
 +#include <linux/delay.h>
+ #include <linux/counters.h>
 
  #define IPMI_DRIVER_VERSION "39.2"

This is now a conflict between the counters tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell