Chris Metcalf
444fa88ac3
net: tilegx driver: avoid compiler warning
...
The "id" variable was being incremented in common code, but only
initialized and used in IPv4 code. We move the increment to the IPv4
code too, and then legitimately use the uninitialized_var() macro to
avoid the gcc 4.6 warning that 'id' may be used uninitialized.
Note that gcc 4.7 does not warn.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-09-11 16:57:45 -04:00
..
2013-09-05 09:31:03 -07:00
2013-09-03 18:19:53 -07:00
2013-09-04 14:41:55 -04:00
2013-09-09 10:26:33 -07:00
2013-09-09 09:13:22 -07:00
2013-09-06 13:30:06 -07:00
2013-09-09 10:20:54 -07:00
2013-09-06 13:30:06 -07:00
2013-09-06 13:34:43 -07:00
2013-09-03 15:59:39 -07:00
2013-09-07 12:53:35 +10:00
2013-09-05 08:50:26 -07:00
2013-09-06 11:14:33 -07:00
2013-09-03 11:37:15 -07:00
2013-09-03 21:14:06 -07:00
2013-09-07 10:53:00 -07:00
2013-09-06 09:36:28 -07:00
2013-09-07 09:48:41 -07:00
2013-09-07 10:54:19 -07:00
2013-09-04 11:49:16 +01:00
2013-09-05 15:21:30 -04:00
2013-09-03 11:37:57 -07:00
2013-09-06 09:36:28 -07:00
2013-09-07 10:38:46 -07:00
2013-09-09 09:09:44 -07:00
2013-09-05 14:54:29 -07:00
2013-09-06 13:34:43 -07:00
2013-09-06 08:09:27 +09:30
2013-09-03 15:48:06 -07:00
2013-09-06 10:49:42 -07:00
2013-09-06 13:30:06 -07:00
2013-09-07 20:14:19 -07:00
2013-09-05 08:50:26 -07:00
2013-09-07 20:14:19 -07:00
2013-09-09 10:33:19 -07:00
2013-09-11 16:57:45 -04:00
2013-09-05 11:08:01 -07:00
2013-09-09 10:26:33 -07:00
2013-09-03 22:52:48 -04:00
2013-09-03 16:24:35 -07:00
2013-09-06 13:30:06 -07:00
2013-09-04 17:31:11 -07:00
2013-09-04 17:31:11 -07:00
2013-09-06 13:21:16 -07:00
2013-09-04 17:31:11 -07:00
2013-09-04 17:31:11 -07:00
2013-09-03 15:48:06 -07:00
2013-09-06 09:36:28 -07:00
2013-09-06 13:26:27 -07:00
2013-09-05 14:54:29 -07:00
2013-09-07 10:38:46 -07:00
2013-09-03 11:37:15 -07:00
2013-09-06 10:49:42 -07:00
2013-09-04 11:28:04 -06:00
2013-09-03 22:46:58 -04:00
2013-09-06 13:34:43 -07:00
2013-09-09 10:02:53 +09:30
2013-09-04 17:45:39 -07:00