Arnd Bergmann
e434e04110
net: tg3: avoid uninitialized variable warning
...
The tg3_set_eeprom() function correctly initializes the 'start' variable,
but gcc generates a false warning:
drivers/net/ethernet/broadcom/tg3.c: In function 'tg3_set_eeprom':
drivers/net/ethernet/broadcom/tg3.c:12057:4: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
I have not come up with a way to restructure the code in a way that
avoids the warning without making it less readable, so this adds an
initialization for the declaration to shut up that warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-01-29 20:33:39 -08:00
..
2016-01-13 19:15:14 -08:00
2016-01-11 19:33:59 -08:00
2016-01-17 13:31:50 -08:00
2016-01-17 12:32:01 -08:00
2016-01-15 17:56:32 -08:00
2016-01-06 16:37:14 +01:00
2016-01-06 08:25:24 -05:00
2016-01-17 19:13:15 -08:00
2016-01-13 18:09:52 -08:00
2016-01-12 11:01:12 +01:00
2016-01-15 13:18:47 -08:00
2016-01-15 13:18:47 -08:00
2016-01-15 13:18:47 -08:00
2016-01-17 12:05:31 -08:00
2016-01-15 18:12:18 -08:00
2016-01-17 12:32:01 -08:00
2016-01-18 16:44:24 -08:00
2016-01-17 12:32:01 -08:00
2016-01-07 16:07:54 +01:00
2016-01-13 10:23:36 -08:00
2016-01-17 12:15:38 -08:00
2016-01-14 11:25:37 -08:00
2016-01-18 14:12:33 -05:00
2016-01-16 11:17:22 -08:00
2016-01-17 12:08:04 -05:00
2016-01-17 12:32:01 -08:00
2016-01-11 16:26:03 -08:00
2016-01-12 11:01:12 +01:00
2016-01-11 23:55:43 -05:00
2016-01-17 12:32:01 -08:00
2016-01-12 12:17:28 +01:00
2016-01-15 12:28:00 -08:00
2016-01-18 11:58:31 -08:00
2016-01-17 12:32:01 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 12:50:55 -08:00
2016-01-13 11:25:54 -08:00
2016-01-29 20:33:39 -08:00
2016-01-15 17:56:32 -08:00
2016-01-28 22:53:16 -08:00
2016-01-12 22:03:21 +01:00
2016-01-17 12:05:31 -08:00
2016-01-17 12:32:01 -08:00
2016-01-17 13:40:25 -08:00
2016-01-14 01:03:18 +01:00
2016-01-12 01:12:40 +01:00
2016-01-29 12:38:59 -08:00
2016-01-15 12:14:47 -08:00
2016-01-12 20:47:06 +02:00
2016-01-12 20:47:06 +02:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-13 19:37:36 -08:00
2016-01-15 13:18:47 -08:00
2016-01-15 13:18:47 -08:00
2016-01-19 21:25:57 +02:00
2016-01-14 16:00:49 -08:00
2016-01-17 12:32:01 -08:00
2016-01-15 13:18:47 -08:00
2016-01-18 11:58:31 -08:00
2016-01-12 20:47:06 +02:00
2016-01-11 22:48:05 +01:00
2016-01-18 16:44:24 -08:00