diff options
author | françois romieu <[email protected]> | 2015-09-04 23:05:42 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-09-06 23:59:26 -0700 |
commit | 46cdc9be0841b30ba612aec1878cb746faf280a4 (patch) | |
tree | 07f5963fb8bc7bf82250ee8c17357458f6917e03 /fs/jbd2/commit.c | |
parent | bd1a05ee98b06c9a20138c45f96ccfddf3163f93 (diff) |
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: d86bd29e0b31 ("cxgb4/cxgb4vf: read the correct bits of PL Who Am I register")
Signed-off-by: Francois Romieu <[email protected]>
Cc: Hariprasad Shenai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions