]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ipack: return proper value in match() function
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 23 May 2012 13:54:41 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:14:07 +0000 (14:14 +0900)
commit7257fa5721222f9504e426100198bf87b540af12
tree13ddae8e47d18604ce52e272352c468946988f88
parentdacb3d8a42e22e76f0631409457b5fd39f7037e4
Staging: ipack: return proper value in match() function

It should return the same value given by the match function of the ipack_driver
that has been called.

Returning 0 here, means that the match has failed and it could be succeed.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/ipack.c