linux_dsm_epyc7002/drivers/gpu/drm/msm/adreno
Gustavo A. R. Silva 5abc7dd7b5 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 <garsilva@embeddedor.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2018-03-19 06:33:34 -04:00
..
a2xx.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
a3xx_gpu.c drm/msm/adreno: Define a list of firmware files to load per target 2018-02-20 10:41:22 -05:00
a3xx_gpu.h drm/msm: Remove uneeded platform dev members 2017-08-02 07:57:02 -04:00
a3xx.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
a4xx_gpu.c drm/msm/adreno: Define a list of firmware files to load per target 2018-02-20 10:41:22 -05:00
a4xx_gpu.h drm/msm: Remove uneeded platform dev members 2017-08-02 07:57:02 -04:00
a4xx.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
a5xx_debugfs.c drm/msm/adreno/a5xx_debugfs: fix potential NULL pointer dereference 2018-03-19 06:33:34 -04:00
a5xx_gpu.c drm/msm/adreno: Use generic function to load firmware to a buffer object 2018-02-20 10:41:22 -05:00
a5xx_gpu.h drm/msm: add a5xx specific debugfs 2018-02-20 10:41:20 -05:00
a5xx_power.c drm/msm/adreno: Define a list of firmware files to load per target 2018-02-20 10:41:22 -05:00
a5xx_preempt.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
a5xx.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
adreno_common.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
adreno_device.c drm/msm/adreno: Define a list of firmware files to load per target 2018-02-20 10:41:22 -05:00
adreno_gpu.c drm/msm/adreno: Use generic function to load firmware to a buffer object 2018-02-20 10:41:22 -05:00
adreno_gpu.h drm/msm/adreno: Use generic function to load firmware to a buffer object 2018-02-20 10:41:22 -05:00
adreno_pm4.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00