Re: [PATCH 07/38] usb: host: ehci-msm: fix handling platform_get_irq result

2015-09-21 Thread Alan Stern
On Mon, 21 Sep 2015, Andrzej Hajda wrote: > The function can return negative values. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 > > Signed-off-by:

[PATCH 07/38] usb: host: ehci-msm: fix handling platform_get_irq result

2015-09-21 Thread Andrzej Hajda
The function can return negative values. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- drivers/usb/host/ehci-msm.c | 6 +++---