Tag: 7c6a52a090ce7f680077ed42326e11cf17e713dc

drivers/rtc/rtc-jz4740.c: fix IRQ error check

Author: Lars-Peter Clausen <lars@metafoo.de> The irq field of the jz4740_irc struct is unsigned. Yet we assign the result of platform_get_irq() to it. platform_get_irq() may return a negative error code and the code checks for this condition by checking if ‘irq’ is less than zero. But since ‘irq’ is unsigned this test will always be false. …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.