Re: [PATCH] i2c-iop3xx: add iomem annotation

From: Aaro Koskinen
Date: Fri Dec 03 2010 - 00:50:58 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/