[PATCH] i2c: cpm: Fix build break due to incompatible pointer types

Wolfram Sang wsa at the-dreams.de
Fri Apr 22 23:16:33 AEST 2016


On Wed, Apr 13, 2016 at 01:59:14PM +1000, Michael Ellerman wrote:
> Since commit ea8daa7b9784 ("kbuild: Add option to turn incompatible
> pointer check into error"), assignments from an incompatible pointer
> types have become a hard error, eg:
> 
>   drivers/i2c/busses/i2c-cpm.c:545:91: error: passing argument 3 of
>   'dma_alloc_coherent' from incompatible pointer type
> 
> Fix the build break by converting txdma & rxdma to dma_addr_t.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Applied to for-current, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160422/356a5f91/attachment-0001.sig>


More information about the Linuxppc-dev mailing list