françois romieu
46cdc9be08
cxgb4: fix usage of uninitialized variable
...
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘init_one’:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4579:8: warning: ‘chip’ may be used uninitialized in this function [-Wmaybe-uninitialized]
chip |= CHELSIO_CHIP_CODE(CHELSIO_T4, pl_rev);
^
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4571:11: note: ‘chip’ was declared here
int ver, chip;
^
Fixes: d86bd29e0b ("cxgb4/cxgb4vf: read the correct bits of PL Who Am I register")
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com >
Cc: Hariprasad Shenai <hariprasad@chelsio.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-09-06 23:59:26 -07:00
..
2015-09-01 19:45:46 -07:00
2015-09-02 08:00:54 -07:00
2015-08-14 17:27:17 -07:00
2015-09-03 08:08:17 -07:00
2015-08-18 09:08:47 +03:00
2015-09-02 13:14:58 -07:00
2015-08-28 21:09:14 +02:00
2015-08-09 16:28:09 -07:00
2015-09-01 13:09:20 -07:00
2015-09-01 14:04:50 -07:00
2015-09-01 19:45:46 -07:00
2015-09-01 19:45:46 -07:00
2015-09-02 13:22:38 -07:00
2015-08-03 14:33:05 +09:00
2015-09-01 19:45:46 -07:00
2015-09-01 18:34:22 -07:00
2015-08-31 15:49:19 -07:00
2015-08-19 15:00:08 +02:00
2015-08-07 14:46:24 +02:00
2015-09-01 18:46:42 -07:00
2015-09-01 15:38:33 +02:00
2015-08-05 11:46:44 -07:00
2015-08-27 07:53:19 -07:00
2015-08-05 13:30:15 -07:00
2015-08-07 15:02:59 +02:00
2015-08-15 22:10:26 -04:00
2015-08-12 12:43:41 -07:00
2015-08-21 11:44:04 -07:00
2015-09-01 18:46:42 -07:00
2015-09-02 13:22:38 -07:00
2015-09-01 14:33:35 -07:00
2015-09-03 08:08:17 -07:00
2015-08-31 17:08:05 -07:00
2015-09-01 19:45:46 -07:00
2015-09-02 16:35:26 -07:00
2015-09-01 18:46:42 -07:00
2015-09-01 13:00:04 -07:00
2015-08-26 07:11:45 -07:00
2015-09-01 19:45:46 -07:00
2015-08-09 16:28:09 -07:00
2015-09-02 13:22:38 -07:00
2015-09-02 13:10:25 -07:00
2015-09-06 23:59:26 -07:00
2015-09-03 08:08:17 -07:00
2015-08-09 16:32:22 -04:00
2015-09-02 13:10:25 -07:00
2015-08-05 13:44:24 -07:00
2015-09-03 08:08:17 -07:00
2015-09-01 14:33:35 -07:00
2015-09-01 14:33:35 -07:00
2015-08-14 16:45:51 -07:00
2015-09-01 13:09:20 -07:00
2015-08-10 10:48:11 -07:00
2015-09-01 19:45:46 -07:00
2015-08-29 01:46:40 +02:00
2015-08-13 10:12:54 +02:00
2015-08-30 14:40:29 +01:00
2015-08-16 17:11:20 +02:00
2015-09-01 12:18:40 -07:00
2015-09-02 13:10:25 -07:00
2015-09-03 08:08:17 -07:00
2015-07-29 10:08:09 +02:00
2015-09-01 13:00:04 -07:00
2015-08-31 14:45:45 +01:00
2015-09-01 14:33:35 -07:00
2015-09-03 08:08:17 -07:00
2015-09-02 13:22:38 -07:00
2015-09-01 08:40:25 -07:00
2015-08-14 17:23:25 -07:00
2015-08-05 13:25:59 -07:00
2015-09-01 18:46:42 -07:00
2015-08-09 16:28:09 -07:00
2015-09-01 19:45:46 -07:00
2015-08-06 10:40:35 +03:00
2015-09-01 18:46:42 -07:00
2015-08-05 10:35:49 -07:00
2015-09-01 19:45:46 -07:00
2015-08-05 13:43:12 -07:00
2015-08-05 13:43:12 -07:00