linux-next: manual merge of the block tree with the jc_docs tree

Stephen Rothwell posted 1 patch 2 months, 3 weeks ago
linux-next: manual merge of the block tree with the jc_docs tree
Posted by Stephen Rothwell 2 months, 3 weeks ago
Hi all,

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

  Documentation/userspace-api/ioctl/ioctl-number.rst

between commit:

  15afd5def819 ("Documentation: ioctl-number: Extend "Include File" column width")

from the jc_docs tree and commit:

  1cea5180f2f8 ("block: remove pktcdvd driver")

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

-- 
Cheers,
Stephen Rothwell

diff --cc Documentation/userspace-api/ioctl/ioctl-number.rst
index 677456c31228,4f1532a251d2..000000000000
--- a/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
@@@ -223,32 -219,31 +223,31 @@@ Code  Seq#    Include Fil
               fs/xfs/linux-2.6/xfs_ioctl32.h,
               include/linux/falloc.h,
               linux/fs.h,
 -'X'   all    fs/ocfs2/ocfs_fs.h                                      conflict!
 +'X'   all    fs/ocfs2/ocfs_fs.h                                        conflict!
- 'X'   01     linux/pktcdvd.h                                           conflict!
  'Z'   14-15  drivers/message/fusion/mptctl.h
 -'['   00-3F  linux/usb/tmc.h                                         USB Test and Measurement Devices
 -                                                                     <mailto:gregkh@linuxfoundation.org>
 -'a'   all    linux/atm*.h, linux/sonet.h                             ATM on linux
 -                                                                     <http://lrcwww.epfl.ch/>
 -'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h          conflict! qat driver
 -'b'   00-FF                                                          conflict! bit3 vme host bridge
 -                                                                     <mailto:natalia@nikhefk.nikhef.nl>
 -'b'   00-0F  linux/dma-buf.h                                         conflict!
 -'c'   00-7F  linux/comstats.h                                        conflict!
 -'c'   00-7F  linux/coda.h                                            conflict!
 -'c'   00-1F  linux/chio.h                                            conflict!
 -'c'   80-9F  arch/s390/include/asm/chsc.h                            conflict!
 +'['   00-3F  linux/usb/tmc.h                                           USB Test and Measurement Devices
 +                                                                       <mailto:gregkh@linuxfoundation.org>
 +'a'   all    linux/atm*.h, linux/sonet.h                               ATM on linux
 +                                                                       <http://lrcwww.epfl.ch/>
 +'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h            conflict! qat driver
 +'b'   00-FF                                                            conflict! bit3 vme host bridge
 +                                                                       <mailto:natalia@nikhefk.nikhef.nl>
 +'b'   00-0F  linux/dma-buf.h                                           conflict!
 +'c'   00-7F  linux/comstats.h                                          conflict!
 +'c'   00-7F  linux/coda.h                                              conflict!
 +'c'   00-1F  linux/chio.h                                              conflict!
 +'c'   80-9F  arch/s390/include/asm/chsc.h                              conflict!
  'c'   A0-AF  arch/x86/include/asm/msr.h conflict!
 -'d'   00-FF  linux/char/drm/drm.h                                    conflict!
 -'d'   02-40  pcmcia/ds.h                                             conflict!
 +'d'   00-FF  linux/char/drm/drm.h                                      conflict!
 +'d'   02-40  pcmcia/ds.h                                               conflict!
  'd'   F0-FF  linux/digi1.h
 -'e'   all    linux/digi1.h                                           conflict!
 -'f'   00-1F  linux/ext2_fs.h                                         conflict!
 -'f'   00-1F  linux/ext3_fs.h                                         conflict!
 -'f'   00-0F  fs/jfs/jfs_dinode.h                                     conflict!
 -'f'   00-0F  fs/ext4/ext4.h                                          conflict!
 -'f'   00-0F  linux/fs.h                                              conflict!
 -'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                     conflict!
 +'e'   all    linux/digi1.h                                             conflict!
 +'f'   00-1F  linux/ext2_fs.h                                           conflict!
 +'f'   00-1F  linux/ext3_fs.h                                           conflict!
 +'f'   00-0F  fs/jfs/jfs_dinode.h                                       conflict!
 +'f'   00-0F  fs/ext4/ext4.h                                            conflict!
 +'f'   00-0F  linux/fs.h                                                conflict!
 +'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                       conflict!
  'f'   13-27  linux/fscrypt.h
  'f'   81-8F  linux/fsverity.h
  'g'   00-0F  linux/usb/gadgetfs.h
Re: linux-next: manual merge of the block tree with the jc_docs tree
Posted by Stephen Rothwell 2 months, 1 week ago
Hi all,

On Wed, 16 Jul 2025 15:02:34 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the block tree got a conflict in:
> 
>   Documentation/userspace-api/ioctl/ioctl-number.rst
> 
> between commit:
> 
>   15afd5def819 ("Documentation: ioctl-number: Extend "Include File" column width")
> 
> from the jc_docs tree and commit:
> 
>   1cea5180f2f8 ("block: remove pktcdvd driver")
> 
> from the block 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.
> 
> 
> diff --cc Documentation/userspace-api/ioctl/ioctl-number.rst
> index 677456c31228,4f1532a251d2..000000000000
> --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@@ -223,32 -219,31 +223,31 @@@ Code  Seq#    Include Fil
>                fs/xfs/linux-2.6/xfs_ioctl32.h,
>                include/linux/falloc.h,
>                linux/fs.h,
>  -'X'   all    fs/ocfs2/ocfs_fs.h                                      conflict!
>  +'X'   all    fs/ocfs2/ocfs_fs.h                                        conflict!
> - 'X'   01     linux/pktcdvd.h                                           conflict!
>   'Z'   14-15  drivers/message/fusion/mptctl.h
>  -'['   00-3F  linux/usb/tmc.h                                         USB Test and Measurement Devices
>  -                                                                     <mailto:gregkh@linuxfoundation.org>
>  -'a'   all    linux/atm*.h, linux/sonet.h                             ATM on linux
>  -                                                                     <http://lrcwww.epfl.ch/>
>  -'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h          conflict! qat driver
>  -'b'   00-FF                                                          conflict! bit3 vme host bridge
>  -                                                                     <mailto:natalia@nikhefk.nikhef.nl>
>  -'b'   00-0F  linux/dma-buf.h                                         conflict!
>  -'c'   00-7F  linux/comstats.h                                        conflict!
>  -'c'   00-7F  linux/coda.h                                            conflict!
>  -'c'   00-1F  linux/chio.h                                            conflict!
>  -'c'   80-9F  arch/s390/include/asm/chsc.h                            conflict!
>  +'['   00-3F  linux/usb/tmc.h                                           USB Test and Measurement Devices
>  +                                                                       <mailto:gregkh@linuxfoundation.org>
>  +'a'   all    linux/atm*.h, linux/sonet.h                               ATM on linux
>  +                                                                       <http://lrcwww.epfl.ch/>
>  +'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h            conflict! qat driver
>  +'b'   00-FF                                                            conflict! bit3 vme host bridge
>  +                                                                       <mailto:natalia@nikhefk.nikhef.nl>
>  +'b'   00-0F  linux/dma-buf.h                                           conflict!
>  +'c'   00-7F  linux/comstats.h                                          conflict!
>  +'c'   00-7F  linux/coda.h                                              conflict!
>  +'c'   00-1F  linux/chio.h                                              conflict!
>  +'c'   80-9F  arch/s390/include/asm/chsc.h                              conflict!
>   'c'   A0-AF  arch/x86/include/asm/msr.h conflict!
>  -'d'   00-FF  linux/char/drm/drm.h                                    conflict!
>  -'d'   02-40  pcmcia/ds.h                                             conflict!
>  +'d'   00-FF  linux/char/drm/drm.h                                      conflict!
>  +'d'   02-40  pcmcia/ds.h                                               conflict!
>   'd'   F0-FF  linux/digi1.h
>  -'e'   all    linux/digi1.h                                           conflict!
>  -'f'   00-1F  linux/ext2_fs.h                                         conflict!
>  -'f'   00-1F  linux/ext3_fs.h                                         conflict!
>  -'f'   00-0F  fs/jfs/jfs_dinode.h                                     conflict!
>  -'f'   00-0F  fs/ext4/ext4.h                                          conflict!
>  -'f'   00-0F  linux/fs.h                                              conflict!
>  -'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                     conflict!
>  +'e'   all    linux/digi1.h                                             conflict!
>  +'f'   00-1F  linux/ext2_fs.h                                           conflict!
>  +'f'   00-1F  linux/ext3_fs.h                                           conflict!
>  +'f'   00-0F  fs/jfs/jfs_dinode.h                                       conflict!
>  +'f'   00-0F  fs/ext4/ext4.h                                            conflict!
>  +'f'   00-0F  linux/fs.h                                                conflict!
>  +'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                       conflict!
>   'f'   13-27  linux/fscrypt.h
>   'f'   81-8F  linux/fsverity.h
>   'g'   00-0F  linux/usb/gadgetfs.h

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

-- 
Cheers,
Stephen Rothwell
Re: linux-next: manual merge of the block tree with the jc_docs tree
Posted by Jonathan Corbet 2 months, 3 weeks ago
Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi all,
>
> Today's linux-next merge of the block tree got a conflict in:
>
>   Documentation/userspace-api/ioctl/ioctl-number.rst
>
> between commit:
>
>   15afd5def819 ("Documentation: ioctl-number: Extend "Include File" column width")
>
> from the jc_docs tree and commit:
>
>   1cea5180f2f8 ("block: remove pktcdvd driver")
>
> from the block 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.

That seems like an awful lot of fallout given that the block side, in
its entirety, just removes a single line.  I guess the resolution is
correct - thanks - but I don't quite understand why the conflict is so
widespread.

jon

> diff --cc Documentation/userspace-api/ioctl/ioctl-number.rst
> index 677456c31228,4f1532a251d2..000000000000
> --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@@ -223,32 -219,31 +223,31 @@@ Code  Seq#    Include Fil
>                fs/xfs/linux-2.6/xfs_ioctl32.h,
>                include/linux/falloc.h,
>                linux/fs.h,
>  -'X'   all    fs/ocfs2/ocfs_fs.h                                      conflict!
>  +'X'   all    fs/ocfs2/ocfs_fs.h                                        conflict!
> - 'X'   01     linux/pktcdvd.h                                           conflict!
>   'Z'   14-15  drivers/message/fusion/mptctl.h
>  -'['   00-3F  linux/usb/tmc.h                                         USB Test and Measurement Devices
>  -                                                                     <mailto:gregkh@linuxfoundation.org>
>  -'a'   all    linux/atm*.h, linux/sonet.h                             ATM on linux
>  -                                                                     <http://lrcwww.epfl.ch/>
>  -'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h          conflict! qat driver
>  -'b'   00-FF                                                          conflict! bit3 vme host bridge
>  -                                                                     <mailto:natalia@nikhefk.nikhef.nl>
>  -'b'   00-0F  linux/dma-buf.h                                         conflict!
>  -'c'   00-7F  linux/comstats.h                                        conflict!
>  -'c'   00-7F  linux/coda.h                                            conflict!
>  -'c'   00-1F  linux/chio.h                                            conflict!
>  -'c'   80-9F  arch/s390/include/asm/chsc.h                            conflict!
>  +'['   00-3F  linux/usb/tmc.h                                           USB Test and Measurement Devices
>  +                                                                       <mailto:gregkh@linuxfoundation.org>
>  +'a'   all    linux/atm*.h, linux/sonet.h                               ATM on linux
>  +                                                                       <http://lrcwww.epfl.ch/>
>  +'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h            conflict! qat driver
>  +'b'   00-FF                                                            conflict! bit3 vme host bridge
>  +                                                                       <mailto:natalia@nikhefk.nikhef.nl>
>  +'b'   00-0F  linux/dma-buf.h                                           conflict!
>  +'c'   00-7F  linux/comstats.h                                          conflict!
>  +'c'   00-7F  linux/coda.h                                              conflict!
>  +'c'   00-1F  linux/chio.h                                              conflict!
>  +'c'   80-9F  arch/s390/include/asm/chsc.h                              conflict!
>   'c'   A0-AF  arch/x86/include/asm/msr.h conflict!
>  -'d'   00-FF  linux/char/drm/drm.h                                    conflict!
>  -'d'   02-40  pcmcia/ds.h                                             conflict!
>  +'d'   00-FF  linux/char/drm/drm.h                                      conflict!
>  +'d'   02-40  pcmcia/ds.h                                               conflict!
>   'd'   F0-FF  linux/digi1.h
>  -'e'   all    linux/digi1.h                                           conflict!
>  -'f'   00-1F  linux/ext2_fs.h                                         conflict!
>  -'f'   00-1F  linux/ext3_fs.h                                         conflict!
>  -'f'   00-0F  fs/jfs/jfs_dinode.h                                     conflict!
>  -'f'   00-0F  fs/ext4/ext4.h                                          conflict!
>  -'f'   00-0F  linux/fs.h                                              conflict!
>  -'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                     conflict!
>  +'e'   all    linux/digi1.h                                             conflict!
>  +'f'   00-1F  linux/ext2_fs.h                                           conflict!
>  +'f'   00-1F  linux/ext3_fs.h                                           conflict!
>  +'f'   00-0F  fs/jfs/jfs_dinode.h                                       conflict!
>  +'f'   00-0F  fs/ext4/ext4.h                                            conflict!
>  +'f'   00-0F  linux/fs.h                                                conflict!
>  +'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                       conflict!
>   'f'   13-27  linux/fscrypt.h
>   'f'   81-8F  linux/fsverity.h
>   'g'   00-0F  linux/usb/gadgetfs.h
Re: linux-next: manual merge of the block tree with the jc_docs tree
Posted by Stephen Rothwell 2 months, 3 weeks ago
Hi Jon,

On Wed, 16 Jul 2025 07:31:25 -0600 Jonathan Corbet <corbet@lwn.net> wrote:
>
> That seems like an awful lot of fallout given that the block side, in
> its entirety, just removes a single line.  I guess the resolution is
> correct - thanks - but I don't quite understand why the conflict is so
> widespread.

Its just the "git diff" context, I guess.

-- 
Cheers,
Stephen Rothwell
Re: linux-next: manual merge of the block tree with the jc_docs tree
Posted by Bagas Sanjaya 2 months, 3 weeks ago
On Wed, Jul 16, 2025 at 03:02:34PM +1000, Stephen Rothwell wrote:
> 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.
> <snipped>...
> diff --cc Documentation/userspace-api/ioctl/ioctl-number.rst
> index 677456c31228,4f1532a251d2..000000000000
> --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
> @@@ -223,32 -219,31 +223,31 @@@ Code  Seq#    Include Fil
>                fs/xfs/linux-2.6/xfs_ioctl32.h,
>                include/linux/falloc.h,
>                linux/fs.h,
>  -'X'   all    fs/ocfs2/ocfs_fs.h                                      conflict!
>  +'X'   all    fs/ocfs2/ocfs_fs.h                                        conflict!
> - 'X'   01     linux/pktcdvd.h                                           conflict!
>   'Z'   14-15  drivers/message/fusion/mptctl.h
>  -'['   00-3F  linux/usb/tmc.h                                         USB Test and Measurement Devices
>  -                                                                     <mailto:gregkh@linuxfoundation.org>
>  -'a'   all    linux/atm*.h, linux/sonet.h                             ATM on linux
>  -                                                                     <http://lrcwww.epfl.ch/>
>  -'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h          conflict! qat driver
>  -'b'   00-FF                                                          conflict! bit3 vme host bridge
>  -                                                                     <mailto:natalia@nikhefk.nikhef.nl>
>  -'b'   00-0F  linux/dma-buf.h                                         conflict!
>  -'c'   00-7F  linux/comstats.h                                        conflict!
>  -'c'   00-7F  linux/coda.h                                            conflict!
>  -'c'   00-1F  linux/chio.h                                            conflict!
>  -'c'   80-9F  arch/s390/include/asm/chsc.h                            conflict!
>  +'['   00-3F  linux/usb/tmc.h                                           USB Test and Measurement Devices
>  +                                                                       <mailto:gregkh@linuxfoundation.org>
>  +'a'   all    linux/atm*.h, linux/sonet.h                               ATM on linux
>  +                                                                       <http://lrcwww.epfl.ch/>
>  +'a'   00-0F  drivers/crypto/qat/qat_common/adf_cfg_common.h            conflict! qat driver
>  +'b'   00-FF                                                            conflict! bit3 vme host bridge
>  +                                                                       <mailto:natalia@nikhefk.nikhef.nl>
>  +'b'   00-0F  linux/dma-buf.h                                           conflict!
>  +'c'   00-7F  linux/comstats.h                                          conflict!
>  +'c'   00-7F  linux/coda.h                                              conflict!
>  +'c'   00-1F  linux/chio.h                                              conflict!
>  +'c'   80-9F  arch/s390/include/asm/chsc.h                              conflict!
>   'c'   A0-AF  arch/x86/include/asm/msr.h conflict!
>  -'d'   00-FF  linux/char/drm/drm.h                                    conflict!
>  -'d'   02-40  pcmcia/ds.h                                             conflict!
>  +'d'   00-FF  linux/char/drm/drm.h                                      conflict!
>  +'d'   02-40  pcmcia/ds.h                                               conflict!
>   'd'   F0-FF  linux/digi1.h
>  -'e'   all    linux/digi1.h                                           conflict!
>  -'f'   00-1F  linux/ext2_fs.h                                         conflict!
>  -'f'   00-1F  linux/ext3_fs.h                                         conflict!
>  -'f'   00-0F  fs/jfs/jfs_dinode.h                                     conflict!
>  -'f'   00-0F  fs/ext4/ext4.h                                          conflict!
>  -'f'   00-0F  linux/fs.h                                              conflict!
>  -'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                     conflict!
>  +'e'   all    linux/digi1.h                                             conflict!
>  +'f'   00-1F  linux/ext2_fs.h                                           conflict!
>  +'f'   00-1F  linux/ext3_fs.h                                           conflict!
>  +'f'   00-0F  fs/jfs/jfs_dinode.h                                       conflict!
>  +'f'   00-0F  fs/ext4/ext4.h                                            conflict!
>  +'f'   00-0F  linux/fs.h                                                conflict!
>  +'f'   00-0F  fs/ocfs2/ocfs2_fs.h                                       conflict!
>   'f'   13-27  linux/fscrypt.h
>   'f'   81-8F  linux/fsverity.h
>   'g'   00-0F  linux/usb/gadgetfs.h

The resolution looks good, thanks!

-- 
An old man doll... just what I always wanted! - Clara