Skip to contentSkip to conversation

linux-next: manual merge of the tty tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 2 messages May 20, 2016 – May 21, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

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

include/uapi/linux/serial_core.h

between commits:

157b9394709e ("serial: pic32_uart: Add PIC32 UART driver")
07b75260ebc2 ("Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus")

from Linus' tree and commit:

041f031def33 ("serial: mps2-uart: add MPS2 UART driver")

from the tty 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 · 19 lines
Cheers,
Stephen Rothwell

diff --cc include/uapi/linux/serial_core.h
index 24da334af7f1,9aef04c5f7bc..000000000000
--- a/include/uapi/linux/serial_core.h
+++ b/include/uapi/linux/serial_core.h
@@@ -264,7 -264,7 +264,10 @@@
  /* MVEBU UART */
  #define PORT_MVEBU	114
  
 +/* Microchip PIC32 UART */
 +#define PORT_PIC32	115
 +
+ /* MPS2 UART */
 -#define PORT_MPS2UART	115
++#define PORT_MPS2UART	116
+ 
  #endif /* _UAPILINUX_SERIAL_CORE_H */
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi Greg,

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

include/uapi/linux/serial_core.h

between commits:

157b9394709e ("serial: pic32_uart: Add PIC32 UART driver")
07b75260ebc2 ("Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus")

from Linus' tree and commit:

041f031def33 ("serial: mps2-uart: add MPS2 UART driver")

Quoted 8 lines

from the tty 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.

Thanks for this, I've warned Linus to watch out for this when he merges my tree into his.

greg k-h