Messages in this thread | | | Date | Thu, 30 Jul 2020 17:41:24 -0700 (PDT) | Subject | Re: [PATCH -next] bnxt_en: Remove superfluous memset() | From | David Miller <> |
| |
From: Li Heng <liheng40@huawei.com> Date: Thu, 30 Jul 2020 14:43:50 +0800
> Fixes coccicheck warning: > > ./drivers/net/ethernet/broadcom/bnxt/bnxt.c:3730:19-37: WARNING: > dma_alloc_coherent use in stats -> hw_stats already zeroes out > memory, so memset is not needed > > dma_alloc_coherent use in status already zeroes out memory, > so memset is not needed > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Li Heng <liheng40@huawei.com>
Applied.
| |