]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: remove sparse warnings
authorAndy Gospodarek <andy@greyhouse.net>
Thu, 6 Sep 2007 19:42:14 +0000 (20:42 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:00 +0000 (16:49 -0700)
commit89de296c91f7a82e61ab30401a5c2eaf1aa283ee
tree1a52559d41e77ec216f53d5bc3f6e42e335f0eca
parent0f4f614c28677d125bd918b90456e5f4d24484e4
[TG3]: remove sparse warnings

Removed sparse warnings from tg3 driver.  The new logic seems fine (I
don't immediately see where we are running over values for any of the
variables that need to be saved).

This patch compiles fine and I'm currently using a tg3 with the patched
driver to post this patch as a basic proof of concept.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c