Messages in this thread | | | Date | Wed, 24 Jun 2015 00:18:40 -0700 (PDT) | Subject | Re: [PATCH] stmmac: explicitly zero des0 & des1 on init | From | David Miller <> |
| |
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Date: Tue, 23 Jun 2015 15:04:31 +0000
> I'm wondering if my comment makes sense and should I just change commit > message or you'd prefer to still use dma_zalloc_coherent() during > driver probe?
I think you should do both, convert to dma_zalloc_coherent() and perform the explicit clearing in the routine in question.
| |