diff options
author | Alexey Khoroshilov <[email protected]> | 2013-04-07 23:46:47 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-04-08 11:30:04 -0700 |
commit | 1b581f173992cded311f810346378f763a1f1e5d (patch) | |
tree | 84ef80845e97f17fcc4daeb3338721807910c28c /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | c12f9ea28e9fbe7b1f4cefc953bee33298370683 (diff) |
tty: mxser: fix cycle termination condition in mxser_probe() and mxser_module_init()
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 <[email protected]>
Acked-by: Jiri Slaby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions