On Tue, Sep 20, 2016 at 02:29:13PM +0530, Vinod Koul wrote: > On some systems, pointer can be large than unsigned int, triggering warning > pointer-to-int-cast on conversion. > > drivers/dma/s3c24xx-dma.c: In function 's3c24xx_dma_filter': > drivers/dma/s3c24xx-dma.c:1421:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > > Use a long value for type conversion. > > Cc: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> > Suggested-by: Arnd Bergmann <arnd@xxxxxxxx> > Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx> > --- > drivers/dma/s3c24xx-dma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html