linux_dsm_epyc7002/drivers/gpu/drm/msm/adreno
Takashi Iwai b83caf4253 drm/msm: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-03-19 12:09:04 -07:00
..
a2xx_gpu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
a2xx_gpu.h drm/msm/adreno: add a2xx 2018-12-11 13:07:06 -05:00
a2xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a3xx_gpu.c drm/msm/a3xx: set interconnect bandwidth vote 2020-01-02 14:23:48 -08:00
a3xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a3xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a4xx_gpu.c drm/msm/a4xx: set interconnect bandwidth vote 2020-01-02 14:23:48 -08:00
a4xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a4xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a5xx_debugfs.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
a5xx_gpu.c drm/msm/adreno: fix zap vs no-zap handling 2020-01-02 14:18:52 -08:00
a5xx_gpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
a5xx_power.c drm/msm/adreno: Add support for Adreno 510 GPU 2019-11-04 13:18:31 -08:00
a5xx_preempt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
a5xx.xml.h drm/msm/adreno: Add A540 support 2019-06-18 14:04:23 -07:00
a6xx_gmu.c drm/msm: Fix a6xx GMU shutdown sequence 2020-02-11 07:41:18 -08:00
a6xx_gmu.h drm/msm/a6xx: restore previous freq on resume 2020-01-02 14:07:30 -08:00
a6xx_gmu.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a6xx_gpu_state.c drm: msm: a6xx: Dump GBIF registers, debugbus in gpu state 2020-01-02 16:05:37 -08:00
a6xx_gpu_state.h drm: msm: a6xx: Dump GBIF registers, debugbus in gpu state 2020-01-02 16:05:37 -08:00
a6xx_gpu.c drm/msm: Fix a6xx GMU shutdown sequence 2020-02-11 07:41:18 -08:00
a6xx_gpu.h drm: msm: a6xx: Add support for A618 2020-01-02 16:05:36 -08:00
a6xx_hfi.c drm/msm/a6xx: Update the GMU bus tables for sc7180 2020-02-11 07:41:00 -08:00
a6xx_hfi.h drm/msm: Add A6XX device support 2018-08-10 18:49:18 -04:00
a6xx.xml.h drm: msm: a6xx: Add support for A618 2020-01-02 16:05:36 -08:00
adreno_common.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
adreno_device.c drm: msm: Add 618 gpu to the adreno gpu list 2020-01-02 16:05:36 -08:00
adreno_gpu.c drm/msm: Use scnprintf() for avoiding potential buffer overflow 2020-03-19 12:09:04 -07:00
adreno_gpu.h drm/msm: use BUG_ON macro for debugging. 2020-01-02 16:17:20 -08:00
adreno_pm4.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00