Dan Carpenter 4f03ffcd3e serial: icom: move array overflow checks earlier
This code does an annoying thing where it writes to the array and then
checks later for array overflows.  I don't know if it's actually
possible to overflow but let's check before using the array index.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-27 16:24:33 -07:00
..
2013-03-18 16:24:29 -07:00
2013-03-18 16:24:29 -07:00
2013-03-18 16:24:29 -07:00
2013-07-24 15:12:53 -07:00
2013-05-20 12:15:59 -07:00
2013-08-02 11:47:42 +08:00