aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorLABBE Corentin <[email protected]>2015-11-24 14:34:09 +0000
committerFelipe Balbi <[email protected]>2015-12-08 14:13:28 +0000
commit928c75fbeb6b62edbdff7c52ee1e9a3591faee4f (patch)
tree74a4b331f38f97eff8615c5af2c6dea8620023b0 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentusb: dwc3: gadget: don't prestart interrupt endpoints (diff)
downloadkernel-928c75fbeb6b62edbdff7c52ee1e9a3591faee4f.tar.gz
kernel-928c75fbeb6b62edbdff7c52ee1e9a3591faee4f.zip
usb: phy: msm: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer dereference later. Even if the probability of this case is very low, fixing it made static analyzers happy. Solving this with of_device_get_match_data made also code simplier. Reported-by: coverity (CID 1324133) Signed-off-by: LABBE Corentin <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions