diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-10-30 18:04:26 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-30 20:17:54 (GMT) |
commit | 38141fcfaad34a388e61a7a7e98d521330e049d6 (patch) | |
tree | 37a87c9af011e9e3aee0c4a51072f1e8001294f5 /include/net | |
parent | da17fcffb1dff98463640d1deaeafbc6a7e73a41 (diff) | |
download | linux-fsl-qoriq-38141fcfaad34a388e61a7a7e98d521330e049d6.tar.xz |
ar5523: make buffer size variable unsigned
A negative buffer size doesn't make sense and it breaks this check in
ar5523_get_max_rxsz():
if (!ar->rxbufsz || ar->rxbufsz > AR5523_SANE_RXBUFSZ) { ...
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions