From: Alex Dewar <alex.dewar90@gmail.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Alex Dewar <alex.dewar90@gmail.com>,
GR-QLogic-Storage-Upstream@marvell.com, jejb@linux.ibm.com,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
njavali@marvell.com
Subject: Re: [PATCH v2] scsi: Don't call memset after dma_alloc_coherent()
Date: Wed, 2 Sep 2020 17:03:37 +0100 [thread overview]
Message-ID: <20200902160337.kvuujxodeokrbn4d@medion> (raw)
In-Reply-To: <yq1eenlezwf.fsf@ca-mkp.ca.oracle.com>
On Tue, Sep 01, 2020 at 09:22:44PM -0400, Martin K. Petersen wrote:
>
> Alex,
>
> > dma_alloc_coherent() already zeroes memory, so the extra call to
> > memset() is unnecessary.
>
> One patch per driver, please.
Nvm, someone's already beaten me to the punch!
>
> Thanks!
>
> --
> Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2020-09-02 16:03 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
2020-09-02 15:51 ` Alex Dewar
2020-09-02 16:03 ` Alex Dewar [this message]
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=20200902160337.kvuujxodeokrbn4d@medion \
--to=alex.dewar90@gmail.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--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
all inboxes | Powered by JetHome®