aboutsummaryrefslogtreecommitdiff
path: root/lib/textsearch.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-12-10 21:21:33 +0100
committerJean Delvare <khali@arrakis.delvare>2006-12-10 21:21:33 +0100
commit3bacb36db01c7541ffea21d4ff39219e8b211a5c (patch)
tree52d89e1c11c22e75aabe37c5bbeeb6800e0e247c /lib/textsearch.c
parent250d1bd3f4ed0b50d79b3ec81ccefbabb203f916 (diff)
i2c: Fix return value check in i2c-dev
device_create() returns error code as pointer on failures. This patch checks the return value of device_create() by using IS_ERR(). Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions