commit | 26e1e8d1d1cfa914b95b5dab001a6ed898872755 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Fri May 07 10:30:41 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri May 21 09:34:30 2010 -0700 |
tree | c095b4c89c879f604c5cd9ba2f5968810bd1715a | |
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>