Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Jiasheng Jiang <jiasheng@iscas.ac.cn>,
jejb@linux.ibm.com, skashyap@marvell.com,
GR-QLogic-Storage-Upstream@marvell.com, jhasan@marvell.com,
linux@armlinux.org.uk
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH] scsi: qedf: potential dereference of null pointer
Date: Mon, 10 Jan 2022 17:04:38 -0500 [thread overview]
Message-ID: <164182835583.13635.8893897852615126704.b4-ty@oracle.com> (raw)
In-Reply-To: <20211216101449.375953-1-jiasheng@iscas.ac.cn>
On Thu, 16 Dec 2021 18:14:49 +0800, Jiasheng Jiang wrote:
> The return value of dma_alloc_coherent() needs to be checked.
> To avoid use of null pointer in case of the failure of alloc.
>
>
Applied to 5.17/scsi-queue, thanks!
[1/1] scsi: qedf: potential dereference of null pointer
https://git.kernel.org/mkp/scsi/c/aa7069d840da
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2022-01-10 22:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 10:14 Jiasheng Jiang
2022-01-03 4:58 ` [EXT] " Saurav Kashyap
2022-01-03 17:12 ` Jakub Kicinski
2022-01-04 4:05 ` Saurav Kashyap
2022-01-05 5:20 ` Martin K. Petersen
2022-01-10 22:04 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164182835583.13635.8893897852615126704.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=jejb@linux.ibm.com \
--cc=jhasan@marvell.com \
--cc=jiasheng@iscas.ac.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=skashyap@marvell.com \
--subject='Re: [PATCH] scsi: qedf: potential dereference of null pointer' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).