Re: [GIT PULL] SCSI fixes for 4.18-rc3

From: Linus Torvalds
Date: Tue Jul 10 2018 - 14:33:30 EST


On Tue, Jul 10, 2018 at 10:49 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Also, the device is called /dev/sg%d with %d being sdp->index.
>
> I guess I could make it at least say that, although it's not like "one
> of them would be ok, but /dev/sd3 is right out".

Actually, I don't want to after all, because I don't even have 'spd'
available until later when we might have already returned ENXIO. I'd
rather have the warning right at the top of the function.

Linus