From: Maurizio Lombardi Date: Tue, 27 Jun 2017 09:53:27 +0000 (+0200) Subject: scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220a8988938da3f0d2c43080b74c78951d288d9f;p=pandora-kernel.git scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails. commit 62e62ffd95539b9220894a7900a619e0f3ef4756 upstream. The enclosure_add_device() function should fail if it can't create the relevant sysfs links. Signed-off-by: Maurizio Lombardi Tested-by: Douglas Miller Acked-by: James Bottomley Signed-off-by: Martin K. Petersen Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed