Re: [PATCH 2.6.39-rc7] RTC: rtc-ds1307 EEPROM support for ds1388chip

From: Andrew Morton
Date: Fri Sep 23 2011 - 19:05:31 EST


On Mon, 1 Aug 2011 10:30:57 +1200
Austin Boyle <Austin.Boyle@xxxxxxxxxxxx> wrote:

> [PATCH 3.0] RTC: EEPROM support for DS1388
>
> This patch adds support for different sized NVRAM, such as
> the 512 bytes of EEPROM on the DS1388 chip.

This patch is causing problems in today's linux-next, with x86_64 allmodconfig:

drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':
drivers/rtc/rtc-ds1307.c:796: warning: passing argument 1 of 'i2c_smbus_read_i2c_block_data' from incompatible pointer type
include/linux/i2c.h:98: note: expected 'const struct i2c_client *' but argument is of type 'struct i2c_client **'
drivers/rtc/rtc-ds1307.c:949: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'

Please take a look? You'll need %z for the printk warning.
--
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/