Re: [GIT PULL] i2c updates for 2.6.30

From: Geert Uytterhoeven
Date: Tue Apr 07 2009 - 16:20:43 EST


On Sat, Mar 28, 2009 at 22:39, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> Please pull the i2c subsystem updates for Linux 2.6.30 from:

> Wolfram Sang (4):
> Â Â Âi2c-algo-pca: Rework waiting for a free bus

This one introduced:

drivers/i2c/algos/i2c-algo-pca.c:197: warning: 'state' is used
uninitialized in this function

Probably

while (pca_status(adap) != 0xf8) {

should become

while ((state = pca_status(adap)) != 0xf8) {

again.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/