Arnd Bergmann
ecf244f753
rocker: fix maybe-uninitialized warning
...
In some rare configurations, we get a warning about the 'index' variable
being used without an initialization:
drivers/net/ethernet/rocker/rocker_ofdpa.c: In function ‘ofdpa_port_fib_ipv4.isra.16.constprop’:
drivers/net/ethernet/rocker/rocker_ofdpa.c:2425:92: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
This is a false positive, the logic is just a bit too complex for gcc
to follow here. Moving the intialization of 'index' a little further
down makes it clear to gcc that the function always returns an error
if it is not initialized.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-10-18 14:20:36 -04:00
..
2016-09-12 20:27:57 -07:00
2016-08-01 13:32:51 -07:00
2016-09-12 20:27:57 -07:00
2016-08-13 15:14:56 -07:00
2016-08-08 15:42:21 -07:00
2016-08-31 09:22:30 -07:00
2016-06-22 16:22:41 -04:00
2016-08-01 21:42:57 -07:00
2016-08-23 17:42:33 -07:00
2016-09-12 20:27:58 -07:00
2016-09-23 08:38:38 -04:00
2015-09-29 21:11:13 -07:00
2016-09-06 15:58:59 -07:00
2016-09-15 20:15:26 -04:00
2016-10-17 13:03:02 -04:00
2016-10-18 14:20:36 -04:00
2016-09-23 06:46:57 -04:00
2016-10-07 23:55:59 -04:00
2016-10-13 12:12:50 -04:00
2016-10-18 10:32:39 -04:00
2016-06-15 12:17:57 -07:00
2016-08-01 13:32:52 -07:00
2016-08-09 15:08:22 -07:00
2016-08-13 14:51:02 -07:00
2016-09-12 20:27:58 -07:00
2016-10-09 09:30:39 -04:00
2016-10-17 13:03:02 -04:00
2016-10-04 02:11:51 -04:00
2016-10-04 10:08:44 +03:00
2016-05-04 14:16:49 -04:00
2016-10-17 13:03:03 -04:00
2016-05-04 14:16:49 -04:00
2016-09-12 20:27:58 -07:00
2016-10-18 14:17:13 -04:00
2016-10-03 23:28:50 -04:00
2016-10-05 10:11:24 -07:00
2016-10-06 21:08:08 -04:00
2016-10-14 11:13:00 -04:00
2016-05-17 12:30:19 -04:00
2016-10-11 15:06:33 -07:00
2016-05-04 14:16:49 -04:00
2016-04-28 14:21:14 -04:00
2016-09-12 20:27:59 -07:00
2016-08-01 13:32:52 -07:00
2016-09-30 02:10:15 -04:00
2016-08-18 23:29:43 -07:00
2016-02-25 16:51:05 -05:00
2016-08-23 17:10:16 -07:00
2016-04-28 17:19:58 -04:00
2016-05-04 14:16:49 -04:00
2016-07-15 16:41:34 -07:00
2016-10-14 11:07:22 -04:00
2016-10-17 13:03:03 -04:00
2016-09-18 22:22:16 -04:00
2016-10-15 17:29:38 -04:00
2016-09-28 05:01:50 -04:00
2016-10-18 14:20:36 -04:00
2016-06-28 09:12:35 -04:00
2016-05-04 14:16:49 -04:00
2016-09-24 08:01:26 -04:00
2016-05-04 14:16:49 -04:00
2016-09-12 20:27:59 -07:00
2016-09-25 23:45:32 -04:00
2016-10-15 17:35:30 -04:00
2016-10-11 15:06:33 -07:00
2016-10-18 10:29:17 -04:00
2016-08-21 15:21:36 -07:00
2016-10-13 09:56:00 -04:00
2016-07-07 10:25:14 +02:00
2016-10-06 20:41:16 -04:00
2016-08-08 13:08:21 -07:00
2016-09-09 18:17:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-13 12:15:28 -04:00
2016-06-27 04:19:14 -04:00
2016-07-04 15:59:52 -07:00
2016-06-28 05:10:26 -04:00
2016-06-28 05:10:26 -04:00
2016-07-24 00:53:32 -04:00
2016-05-04 14:16:49 -04:00
2016-04-13 22:57:00 -04:00
2016-08-12 17:12:08 -07:00
2016-05-04 14:16:49 -04:00
2016-07-04 15:59:51 -07:00
2016-08-12 17:12:08 -07:00
2016-05-17 12:30:19 -04:00