imx-bbu-nand-fcb: don't drop error return code
bit_to_flip might be negative if any uncorrectable bitflips
occured. Use int instead of unsigned type in order to properly
propagate the error.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3dc604d commit ff06cdf26d6983ba147570d4811ba732feeebd9d
@Lucas Stach Lucas Stach authored on 6 Jul 2016
Sascha Hauer committed on 7 Jul 2016
Showing 1 changed file
View
common/imx-bbu-nand-fcb.c