diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-07 10:30:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:34:30 -0700 |
commit | 26e1e8d1d1cfa914b95b5dab001a6ed898872755 (patch) | |
tree | c095b4c89c879f604c5cd9ba2f5968810bd1715a /drivers/char/serial167.c | |
parent | e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4 (diff) |
serial: isicomm: handle running out of slots
This patch makes it return -ENODEV if we run out of empty slots in the
probe function. It's unlikely to happen, but it makes the static
checkers happy.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/serial167.c')
0 files changed, 0 insertions, 0 deletions