From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Vishal Bhakta <vbhakta@vmware.com>,
VMware PV-Drivers Reviewers <pv-drivers@vmware.com>,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi: vmw_pvscsi: No need to clear memory after a dma_alloc_coherent() call
Date: Wed, 06 Apr 2022 23:02:24 -0400 [thread overview]
Message-ID: <yq135iplhon.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <cd1220c628c89465dcfcbf4aa9bd53110898a529.1648067518.git.christophe.jaillet@wanadoo.fr> (Christophe JAILLET's message of "Wed, 23 Mar 2022 21:32:22 +0100")
Christophe,
> dma_alloc_coherent() already clear the allocated memory, there is no
> need to explicitly call memset().
Applied to 5.19/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2022-04-07 3:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-23 20:32 [PATCH] scsi: vmw_pvscsi: No need to clear memory after a dma_alloc_coherent() call Christophe JAILLET
2022-04-07 3:02 ` 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=yq135iplhon.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=jejb@linux.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=pv-drivers@vmware.com \
--cc=vbhakta@vmware.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox