diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-02-02 12:32:23 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2018-03-19 10:33:34 +0000 |
| commit | 5abc7dd7b5a0f51a6c7d9cb3ce72b910ba3cef7b (patch) | |
| tree | 82d1c7f88289c6159ce282679c37c50d4ecfcf0c /drivers/pci/controller/pci-host-common.c | |
| parent | drm/msm/dsi: Get byte_intf_clk only for versions that need it (diff) | |
| download | kernel-5abc7dd7b5a0f51a6c7d9cb3ce72b910ba3cef7b.tar.gz kernel-5abc7dd7b5a0f51a6c7d9cb3ce72b910ba3cef7b.zip | |
drm/msm/adreno/a5xx_debugfs: fix potential NULL pointer dereference
_minor_ is being dereferenced before it is null checked, hence there
is a potential null pointer dereference. Fix this by moving the pointer
dereference after _minor_ has been null checked.
Fixes: 024ad8df763f ("drm/msm: add a5xx specific debugfs")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
