summaryrefslogtreecommitdiff
path: root/sig.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04sig: add signal handling functionsDaniel Borkmann1-0/+32
Add an extra file for signal handling functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
d>Linus Walleij <linus.walleij@linaro.org>2016-06-17 18:12:19 +0200 commitbfbbe44daf64d0ccf2de123179817f3557fb9237 (patch) tree051573607cf58ae0f743f2dc6b96ee3f308de840 parent79bb71bd1d93197ce227fa167b450b633f30a52b (diff)
gpio: make library immune to error pointers
Most functions that take a GPIO descriptor in need to check the descriptor for IS_ERR(). We do this mostly in the VALIDATE_DESC() macro except for the gpiod_to_irq() function which needs special handling. Cc: stable@vger.kernel.org Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat