git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da17fcf
)
ar5523: make buffer size variable unsigned
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 30 Oct 2012 18:04:26 +0000
(21:04 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 30 Oct 2012 20:17:54 +0000
(16:17 -0400)
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>
No differences found