Re: [spi:topic/mtk 2/2] drivers/spi/spi-mt65xx.c:362:24: sparse: incorrect type in argument 1 (different base types)

From: Mark Brown
Date: Tue Aug 11 2015 - 05:05:47 EST


On Tue, Aug 11, 2015 at 10:44:55AM +0800, lei liu wrote:

> I use these commands and also find another waring:

> ../drivers/spi/spi-mt65xx.c:589:25: warning: incorrect type in argument
> 1 (different address spaces)
> ../drivers/spi/spi-mt65xx.c:589:25: expected void const *ptr
> ../drivers/spi/spi-mt65xx.c:589:25: got void [noderef] <asn:2>*base

> should I also fix them?

That'd be great if you could! It's not 100% essential though.

Attachment: signature.asc
Description: Digital signature