cnic: ensure ulp_type is not negative
authorroel kluin <roel.kluin@gmail.com>
Mon, 2 Nov 2009 06:53:44 +0000 (06:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Nov 2009 13:06:23 +0000 (05:06 -0800)
`ulp_type' is signed, make sure it is not negative
when we read the array element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found