summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pci-keystone-dw.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-16 09:55:55 (GMT)
committerRichard Weinberger <richard@nod.at>2016-06-22 22:29:31 (GMT)
commitc0a1ecb9f4e208f4b75d88fa9669748e3fd705ab (patch)
tree0801e8b3a6d396a26d3e9ec2ee6720ba22e3ea87 /drivers/pci/host/pci-keystone-dw.c
parent39243ee771666e02201ba89c1d76fdc28e9cf681 (diff)
downloadlinux-c0a1ecb9f4e208f4b75d88fa9669748e3fd705ab.tar.xz
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 (limited to 'drivers/pci/host/pci-keystone-dw.c')
0 files changed, 0 insertions, 0 deletions