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:
c12f9ea
)
tty: mxser: fix cycle termination condition in mxser_probe() and mxser_module_init()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Sun, 7 Apr 2013 19:46:47 +0000
(23:46 +0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 18:30:04 +0000
(11:30 -0700)
There is a bug in resources deallocation code in mxser_probe() and
mxser_module_init(). As soon as variable 'i' is unsigned int, cycle
termination condition i >= 0 is always true. The patch fixes the issue.
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found