Skip to content
Commit 0d37f36f authored by roel kluin's avatar roel kluin Committed by David S. Miller
Browse files

cnic: ensure ulp_type is not negative



`ulp_type' is signed, make sure it is not negative
when we read the array element.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 885ee398
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment