Messages in this thread | | | From | Aaro Koskinen <> | Subject | Re: [PATCH] i2c-iop3xx: add iomem annotation | Date | Fri, 3 Dec 2010 07:51:10 +0200 |
| |
Hi,
On 3.12.2010, at 3.59, Ben Dooks wrote: > On Sun, Nov 28, 2010 at 06:07:00PM +0200, Aaro Koskinen wrote: >> Eliminate unnecessary casts and the following sparse warnings: [...] >> --- a/drivers/i2c/busses/i2c-iop3xx.h >> +++ b/drivers/i2c/busses/i2c-iop3xx.h >> @@ -97,7 +97,7 @@ >> #define IOP3XX_I2C_IO_SIZE 0x18 >> >> struct i2c_algo_iop3xx_data { >> - u32 ioaddr; >> + char __iomem *ioaddr; > > probably should be changed to void if possible without creating extra > warnings.
Yes, the updated patch is here: https://patchwork.kernel.org/patch/ 363512/
A.
| |