[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y+5fHPW/OXhfOqjv@infradead.org>
Date: Thu, 16 Feb 2023 08:51:40 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Li zeming <zeming@...china.com>
Cc: mst@...hat.com, jasowang@...hat.com, pbonzini@...hat.com,
stefanha@...hat.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com,
virtualization@...ts.linux-foundation.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [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.
Powered by blists - more mailing lists