Christoph Hellwig
2023-Feb-16 16:51 UTC
[PATCH] scsi: virtio_scsi: Modify the kmalloc allocation flag
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.