Re: [PATCH] scsi: virtio_scsi: Modify the kmalloc allocation flag
From: Christoph Hellwig
Date: Thu Feb 16 2023 - 11:51:53 EST
On Sat, Feb 18, 2023 at 08:53:56AM +0800, Li zeming wrote:
> The inq_result pointer must be allocated successfully; otherwise,
> subsequent function execution may crash.
The error needs to be handled. Or in fact this LLDD needs to stop
breaking layering and issuing it's own INQUIRY commands.