diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-09-25 23:14:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-26 05:39:46 +0200 |
commit | 1cb1860d9133ff795cac640b9af4569a2668b45e (patch) | |
tree | a2419659d22d7b1e95d78a9d24b09aee3ce85b5d /drivers/parisc/superio.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff) | |
download | linux-1cb1860d9133ff795cac640b9af4569a2668b45e.tar.xz linux-1cb1860d9133ff795cac640b9af4569a2668b45e.zip |
cxgb4: fix -ve error check on a signed iq
iq is unsigned, so the error check for iq < 0 has no effect so errors
can slip past this check. Fix this by making iq signed and also
get_filter_steerq return a signed int so a -ve error can be returned.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parisc/superio.c')
0 files changed, 0 insertions, 0 deletions