Messages in this thread | | | From | Arnd Bergmann <> | Date | Mon, 1 Jun 2020 23:12:17 +0200 | Subject | Re: [GIT PULL] sh: remove sh5 support |
| |
On Mon, Jun 1, 2020 at 8:13 PM Rich Felker <dalias@libc.org> wrote: > On Sat, May 30, 2020 at 10:08:09AM +0200, John Paul Adrian Glaubitz wrote: > > On 5/29/20 7:53 PM, Rich Felker wrote: > > > [PATCH next] sh: remove call to memset after dma_alloc_coherent > > > https://marc.info/?l=linux-sh&m=157793031102356&w=2 > > Can anyone confirm that this is correct/safe?
Yes, this is safe, I checked both the API definition and the sh implementation in arch_dma_alloc(), which passes __GFP_ZERO.
Arnd
| |