summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-03-29 04:43:22 +0200
committerFelipe Balbi <balbi@ti.com>2015-04-27 21:38:34 +0200
commit49bce159fb3750eaf586c0b583a4930ca9db0d9c (patch)
treeeb0e8819d5ed19d840ecbe4d78099348d1b98c04 /drivers/spi/spidev.c
parentusb: dwc3: dwc3-omap: correct the register macros (diff)
downloadlinux-49bce159fb3750eaf586c0b583a4930ca9db0d9c.tar.xz
linux-49bce159fb3750eaf586c0b583a4930ca9db0d9c.zip
usb: gadget: xilinx: fix devm_ioremap_resource() check
devm_ioremap_resource() returns IOMEM_ERR_PTR() and it never returns NULL, fix the check to prevent access to invalid virtual address. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions