Colin Ian King a2f07d38d6 spi: stm32: fix error check on mbr being -ve
The error check of mbr < 0 is always false because mbr is a u32. Make
mbt an int so that a -ve error return from stm32_spi_prepare_mbr can be
detected.

Detected by CoverityScan, CID#1446586 ("Unsigned compared against 0")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-06-23 12:26:38 +01:00
..
2017-02-20 17:26:11 -08:00
2016-08-19 16:24:39 +01:00
2016-07-07 11:44:43 +02:00
2017-04-07 18:15:20 +01:00
2017-01-23 18:09:37 +00:00
2017-03-13 16:48:40 +00:00