qed: signedness bug in qed_dcbx_process_tlv()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 23 May 2016 10:19:35 +0000 (13:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2016 22:11:08 +0000 (15:11 -0700)
commit54b9430f04b0be3beb7f2711152c61e7d39c58e5
tree86519aa4d084e4f96d06a1bc8a669f22c7a1b6a3
parent612bacad78ba6d0a91166fc4487af114bac172a8
qed: signedness bug in qed_dcbx_process_tlv()

"priority" needs to be signed for the error handling to work.

Fixes: 39651abd2814 ('qed: add support for dcbx.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c