From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Alex Dewar <alex.dewar90@gmail.com>
Cc: GR-QLogic-Storage-Upstream@marvell.com, jejb@linux.ibm.com,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
martin.petersen@oracle.com, njavali@marvell.com
Subject: Re: [PATCH v2] scsi: Don't call memset after dma_alloc_coherent()
Date: Tue, 01 Sep 2020 21:22:44 -0400 [thread overview]
Message-ID: <yq1eenlezwf.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20200820234952.317313-1-alex.dewar90@gmail.com> (Alex Dewar's message of "Fri, 21 Aug 2020 00:49:52 +0100")
Alex,
> dma_alloc_coherent() already zeroes memory, so the extra call to
> memset() is unnecessary.
One patch per driver, please.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2020-09-02 1:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 18:51 [PATCH] scsi: qla2xxx: Remove unnecessary call to memset Alex Dewar
2020-08-20 23:49 ` [PATCH v2] scsi: Don't call memset after dma_alloc_coherent() Alex Dewar
2020-08-24 21:52 ` Alex Dewar
2020-09-02 1:22 ` Martin K. Petersen [this message]
2020-09-02 15:51 ` Alex Dewar
2020-09-02 16:03 ` Alex Dewar
2020-09-03 1:20 ` Martin K. Petersen
2020-08-24 21:42 ` [PATCH] scsi: qla2xxx: Remove unnecessary call to memset Alex Dewar
2020-08-26 16:34 ` Arun Easi
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=yq1eenlezwf.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=alex.dewar90@gmail.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=njavali@marvell.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