Re: [PATCH] scsi: don't memset to zero after dma_alloc_coherent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2019/12/26 19:16, Sergei Shtylyov wrote:
On 26.12.2019 14:13, yukuai (C) wrote:

dma_alloc_coherent already zeros out memory, so memset to zero is not
needed.

Signed-off-by: yu kuai <yukuai3@xxxxxxxxxx>
---
  arch/sh/mm/consistent.c             | 2 --

    How this one is related to SCSI?

Thank you for your response!
I put them in the same patch because I thougt they are the same situation. I'm sorry if it's not appropriate.

   I'd recommend to split such patch to (at least) different subsystems, e.g. arch/sh/ part, drivers/scsi/ part.

I'll do that, thank you again for your advise!

Yu Kuai




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux