Skip to contentSkip to conversation

linux-next: manual merge of the char-misc tree with the keys tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Oct 22, 2019 – Nov 28, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the char-misc tree got conflicts in:

samples/Kconfig
samples/Makefile

between commit:

0b9c31597d81 ("Add sample notification program")

from the keys tree and commit:

6859eba4f6fb ("samples: mei: use hostprogs kbuild constructs")

from the char-misc 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 · 36 lines
Cheers,
Stephen Rothwell

diff --cc samples/Kconfig
index d0761f29ccb0,b663d9d24114..000000000000
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@@ -169,11 -169,11 +169,17 @@@ config SAMPLE_VF
  	  as mount API and statx().  Note that this is restricted to the x86
  	  arch whilst it accesses system calls that aren't yet in all arches.
  
 +config SAMPLE_WATCH_QUEUE
 +	bool "Build example /dev/watch_queue notification consumer"
 +	depends on HEADERS_INSTALL
 +	help
 +	  Build example userspace program to use the new mount_notify(),
 +	  sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
 +
+ config SAMPLE_INTEL_MEI
+ 	bool "Build example program working with intel mei driver"
+ 	depends on INTEL_MEI
+ 	help
+ 	  Build a sample program to work with mei device.
+ 
 -
  endif # SAMPLES
diff --cc samples/Makefile
index a61a39047d02,d6062ab25347..000000000000
--- a/samples/Makefile
+++ b/samples/Makefile
@@@ -20,4 -20,4 +20,5 @@@ obj-$(CONFIG_SAMPLE_TRACE_PRINTK)	+= tr
  obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
  obj-y					+= vfio-mdev/
  subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
 +subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
+ obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
#1 lore raw
Quoted 56 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the char-misc tree got conflicts in:

samples/Kconfig
samples/Makefile

between commit:

0b9c31597d81 ("Add sample notification program")

from the keys tree and commit:

6859eba4f6fb ("samples: mei: use hostprogs kbuild constructs")

from the char-misc 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 · 2 lines
Cheers,
Stephen Rothwell
samples/Kconfig +6 -0
diff --cc samples/Kconfig
index d0761f29ccb0,b663d9d24114..000000000000
@@@ -169,11 -169,11 +169,17 @@@ config SAMPLE_VF
  	  as mount API and statx().  Note that this is restricted to the x86
  	  arch whilst it accesses system calls that aren't yet in all arches.
 
 +config SAMPLE_WATCH_QUEUE
 +	bool "Build example /dev/watch_queue notification consumer"
 +	depends on HEADERS_INSTALL
 +	help
 +	  Build example userspace program to use the new mount_notify(),
 +	  sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
 +
+ config SAMPLE_INTEL_MEI
+ 	bool "Build example program working with intel mei driver"
+ 	depends on INTEL_MEI
+ 	help
+ 	  Build a sample program to work with mei device.
+ 
 -
  endif # SAMPLES
samples/Makefile +0 -0
diff --cc samples/Makefile
index a61a39047d02,d6062ab25347..000000000000

samples/Makefile

Quoted 5 lines
samples/Makefile +1 -0
@@@ -20,4 -20,4 +20,5 @@@ obj-$(CONFIG_SAMPLE_TRACE_PRINTK)	+= tr
  obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
  obj-y					+= vfio-mdev/
  subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
 +subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
+ obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/

Looks good to me, thanks!

greg k-h

#2 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 55 lines · On Tue, 22 Oct 2019 13:38:04 +1100 Stephen Rothwell <[email protected]>…

Today's linux-next merge of the char-misc tree got conflicts in:

samples/Kconfig
samples/Makefile

between commit:

0b9c31597d81 ("Add sample notification program")

from the keys tree and commit:

6859eba4f6fb ("samples: mei: use hostprogs kbuild constructs")

from the char-misc 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 · 2 lines
Cheers,
Stephen Rothwell
samples/Kconfig +6 -0
diff --cc samples/Kconfig
index d0761f29ccb0,b663d9d24114..000000000000
@@@ -169,11 -169,11 +169,17 @@@ config SAMPLE_VF
  	  as mount API and statx().  Note that this is restricted to the x86
  	  arch whilst it accesses system calls that aren't yet in all arches.
 
 +config SAMPLE_WATCH_QUEUE
 +	bool "Build example /dev/watch_queue notification consumer"
 +	depends on HEADERS_INSTALL
 +	help
 +	  Build example userspace program to use the new mount_notify(),
 +	  sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
 +
+ config SAMPLE_INTEL_MEI
+ 	bool "Build example program working with intel mei driver"
+ 	depends on INTEL_MEI
+ 	help
+ 	  Build a sample program to work with mei device.
+ 
 -
  endif # SAMPLES
samples/Makefile +0 -0
diff --cc samples/Makefile
index a61a39047d02,d6062ab25347..000000000000

samples/Makefile

Quoted 5 lines
samples/Makefile +1 -0
@@@ -20,4 -20,4 +20,5 @@@ obj-$(CONFIG_SAMPLE_TRACE_PRINTK)	+= tr
  obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
  obj-y					+= vfio-mdev/
  subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
 +subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
+ obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/

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

Signature · 2 lines
Cheers,
Stephen Rothwell