Re: [PATCH] stmmac: explicitly zero des0 & des1 on init
From: David Miller
Date: Wed Jun 24 2015 - 03:07:02 EST
From: Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/