]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ipack/bridges/tpci200: tpci200_slot_map_space() should return 0 if succeed.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 23 May 2012 13:54:43 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:14:07 +0000 (14:14 +0900)
commit12455235a5dcbb63306b3b981a3458b13286c014
treea821c910a6c94a71b9efdf19fb110a968f87eae2
parent58a129cfbe3cbf9a4d89c21e0367c5a2426d9041
Staging: ipack/bridges/tpci200: tpci200_slot_map_space() should return 0 if succeed.

tpci200_slot_map_space() should return 0 if the operation was properly
done. If not, the caller will think that something wrong happened.

This patch establish the returned value to 0. It is overwritten in case of
error.

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