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>
Cc: skashyap@marvell.com, jhasan@marvell.com,
GR-QLogic-Storage-Upstream@marvell.com, jejb@linux.ibm.com,
martin.petersen@oracle.com, linux@armlinux.org.uk,
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: Wed, 05 Jan 2022 00:20:02 -0500 [thread overview]
Message-ID: <yq11r1m21z8.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20211216101449.375953-1-jiasheng@iscas.ac.cn> (Jiasheng Jiang's message of "Thu, 16 Dec 2021 18:14:49 +0800")
Jiasheng,
> 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-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2022-01-05 5:21 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 [this message]
2022-01-10 22:04 ` Martin K. Petersen
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=yq11r1m21z8.fsf@ca-mkp.ca.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).