Messages in this thread | | | Date | Sun, 25 Sep 2016 23:40:12 -0400 (EDT) | Subject | Re: [PATCH][V2] cxgb4: fix -ve error check on a signed iq | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Sun, 25 Sep 2016 14:14:45 -0700
> From: Colin Ian King <colin.king@canonical.com> > > 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>
Applied, thanks.
| |