aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2012-02-10 03:19:41 +0000
committerJeff Kirsher <[email protected]>2012-03-02 18:16:49 -0800
commit2b88f2de30510c0f4e623d3cd5fcd85cdb70b51f (patch)
treecd267474e31962d04cedb175c4bf897031891dc8 /net/lapb/lapb_in.c
parent89d27a3c0ad7d5f2ce9ece055b3c7c619dc42f6c (diff)
net: dcb: getnumtcs()/setnumtcs() should return an int
{g|s}etnumtcs() today returns a u8 that is only used by the DCB code to verify no error occurred. Today the driver implementations return negative error codes which end up being non-zero so the logic works out but triggers some sparse warnings. To fix the sparse warnings convert the return value to an int. CC: Eilon Greenstein <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: John Fastabend <[email protected]> Tested-by: Ross Brattain <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions