]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: gb_hd_connection_find(): fix "not found" case
authorMarti Bolivar <mbolivar@leaflabs.com>
Mon, 6 Oct 2014 17:26:02 +0000 (13:26 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 6 Oct 2014 17:39:06 +0000 (10:39 -0700)
commite86905b6cd73ce62af88b3526dbc10c14d47016d
tree42f48a67e4a7530a0cc6329d960b77a03e52eeb5
parent7a13e2f68831cba76cb699103b27219649ca6e57
greybus: gb_hd_connection_find(): fix "not found" case

Without this, null-testing the return value of this function is
broken.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.c