From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: jejb@linux.ibm.com, Wang Hai <wanghai38@huawei.com>,
aacraid@microsemi.com
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH -next] scsi: dpt_i2o: remove some not needed memset
Date: Fri, 24 Jul 2020 22:50:45 -0400 [thread overview]
Message-ID: <159564519423.31464.8874512705165332474.b4-ty@oracle.com> (raw)
In-Reply-To: <20200718123224.1202-1-wanghai38@huawei.com>
On Sat, 18 Jul 2020 20:32:24 +0800, Wang Hai wrote:
> Fixes coccicheck warning:
>
> ./drivers/scsi/dpt_i2o.c:3070:11-29: WARNING:
> dma_alloc_coherent use in sys_tbl already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:2780:10-28: WARNING:
> dma_alloc_coherent use in status already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:2834:20-38: WARNING:
> dma_alloc_coherent use in pHba -> reply_pool already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:1328:10-28: WARNING:
> dma_alloc_coherent use in status already zeroes out memory, so memset is not needed
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: dpt_i2o: Remove superfluous memset()
https://git.kernel.org/mkp/scsi/c/003015b890e1
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2020-07-25 2:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-18 12:32 [PATCH -next] scsi: dpt_i2o: remove some not needed memset Wang Hai
2020-07-25 2:50 ` 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=159564519423.31464.8874512705165332474.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=aacraid@microsemi.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=wanghai38@huawei.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;
as well as URLs for NNTP newsgroup(s).