From: Nishanth Menon Date: Mon, 15 Sep 2014 21:31:22 +0000 (-0700) Subject: Input: palmas-pwrbutton - use IRQF_ONESHOT X-Git-Tag: fixes-for-v3.18-merge-window~26^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cc19b7c5e71bdd1214813c6d65a1dd5b37807ac;p=pandora-kernel.git Input: palmas-pwrbutton - use IRQF_ONESHOT make C=2 CHECK="scripts/coccicheck" MODE=report COCCI=scripts/coccinelle/misc/irqf_oneshot.cocci ./drivers/input/misc/palmas-pwrbutton.o Reports: drivers/input/misc/palmas-pwrbutton.c:213:9-29: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Palmas power button just needs threaded IRQ handler since I2C operations are involved and there is nothing in non-threaded primary handler we could do. So mark the request with ONESHOT as it should have been done in these cases. Fixes: adff5962fdd2 ("Input: introduce palmas-pwrbutton") Reported-by: kbuild test robot Signed-off-by: Nishanth Menon Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed