Re: [PATCH] dmaengine: pl330: Mark unused functions as __maybe_unused

2017-06-14 Thread Matthias Kaehlcke
El Wed, Jun 14, 2017 at 10:28:31AM +0530 Vinod Koul ha dit: > On Fri, May 19, 2017 at 01:02:26PM -0700, Matthias Kaehlcke wrote: > > Several functions are not used and probably kept around for completeness > > or debugging. Adding the attribute fixes a bunch of warnings like this > > when building

Re: [PATCH] dmaengine: pl330: Mark unused functions as __maybe_unused

2017-06-13 Thread Vinod Koul
On Fri, May 19, 2017 at 01:02:26PM -0700, Matthias Kaehlcke wrote: > Several functions are not used and probably kept around for completeness > or debugging. Adding the attribute fixes a bunch of warnings like this > when building with clang: > > drivers/dma/pl330.c:568:19: error: unused function

[PATCH] dmaengine: pl330: Mark unused functions as __maybe_unused

2017-05-19 Thread Matthias Kaehlcke
Several functions are not used and probably kept around for completeness or debugging. Adding the attribute fixes a bunch of warnings like this when building with clang: drivers/dma/pl330.c:568:19: error: unused function '_emit_ADDH' [-Werror,-Wunused-function] Signed-off-by: Matthias Kaehlck