Tag: a16e8393ac03cc24fd9b838f42823b4242ceac88

drivers/rtc/rtc-spear.c: fix several error checks

Author: Lars-Peter Clausen <lars@metafoo.de> There are several comparisons of a unsigned int to less than zero int spear RTC driver. Such a check will always be true. In all these cases a signed int is assigned to the unsigned variable, which is checked, before. So the right fix is to make the checked variable signed …

Continue reading