]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ca4b57799989ef081f9a0bca9608bda1a5b9f47
tree86519aa4d084e4f96d06a1bc8a669f22c7a1b6a3
parent88499b76608e2d549841e80dbacea3c585488eae
qed: signedness bug in qed_dcbx_process_tlv()

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

Fixes: ba2fe0269be3 ('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