Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1491062
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][V2] cxgb4: fix -ve error check on a signed iq |
| Date | 2016-09-26 05:50 +0200 |
| Message-ID | <slv5v-70l-3@gated-at.bofh.it> (permalink) |
| References | <slp06-3eH-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH][V2] cxgb4: fix -ve error check on a signed iq Colin King <colin.king@canonical.com> - 2016-09-25 23:20 +0200 Re: [PATCH][V2] cxgb4: fix -ve error check on a signed iq David Miller <davem@davemloft.net> - 2016-09-26 05:50 +0200
csiph-web