lkml.org 
[lkml]   [2020]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: manual merge of the scsi-mkp tree with Linus' tree
Hi all,

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

drivers/scsi/sr.c

between commit:

a711d91cd97e ("block: add a cdrom_device_info pointer to struct gendisk")

from Linus' tree and commit:

6555781b3fde ("scsi: sr: Fix sr_probe() missing deallocate of device minor")

from the scsi-mkp 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 drivers/scsi/sr.c
index 4dcd735ea49e,b9cff27e2c81..000000000000
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@@ -790,9 -790,10 +790,9 @@@ static int sr_probe(struct device *dev
set_capacity(disk, cd->capacity);
disk->private_data = &cd->driver;
disk->queue = sdev->request_queue;
- cd->cdi.disk = disk;

- if (register_cdrom(&cd->cdi))
+ if (register_cdrom(disk, &cd->cdi))
- goto fail_put;
+ goto fail_minor;

/*
* Initialize block layer runtime PM stuffs before the
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-06-10 04:17    [W:0.037 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site