Re: [PATCH] scsi: ses: Handle enclosure with just a primary component gracefully

From: Martin K. Petersen
Date: Tue Apr 11 2023 - 22:04:21 EST


On Tue, 04 Apr 2023 21:23:42 +0200, Jiri Kosina wrote:

> This reverts 3fe97ff3d9493 ("scsi: ses: Don't attach if enclosure has no
> components") and introduces proper handling of case where there are no detected
> secondary components, but primary component (enumerated in num_enclosures)
> does exist. That fix was originally proposed by Ding Hui <dinghui@xxxxxxxxxxxxxx>.
>
> Completely ignoring devices that have one primary enclosure and no secondary one
> results in ses_intf_add() bailing completely
>
> [...]

Applied to 6.3/scsi-fixes, thanks!

[1/1] scsi: ses: Handle enclosure with just a primary component gracefully
https://git.kernel.org/mkp/scsi/c/c8e22b7a1694

--
Martin K. Petersen Oracle Linux Engineering