diff options
| author | Icenowy Zheng <zhengxingda@iscas.ac.cn> | 2026-02-07 04:32:55 +0300 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-02-09 12:44:36 +0300 |
| commit | f2edbafc6cb905caec2b231e8e2226b4c75daad9 (patch) | |
| tree | 91f97244f2b6a79224d0bb60431b26a71c605ac6 /include/trace | |
| parent | 391ce961bcaf88fcd5a7d710f43c1806aa03ecfe (diff) | |
| download | linux-f2edbafc6cb905caec2b231e8e2226b4c75daad9.tar.xz | |
drm: verisilicon: suppress snprintf warning for pixel clock name
Although it's generally expected that the pixel clock ID will only have
one decimal digit, this isn't enforced in vs_dc.c source code, and the
compiler will argue about the buffer being not long enough.
Enlarge the snprintf() buffer for generating pixel clock name to be
enough for a UINT_MAX pixel clock ID in order to suppress the compiler
warning.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602060154.ONBYvM9m-lkp@intel.com/
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260207013255.2075294-1-zhengxingda@iscas.ac.cn
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions
