diff options
| author | Jani Nikula <[email protected]> | 2024-04-05 12:29:07 +0300 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2024-04-22 16:22:49 +0300 |
| commit | b11a89a5106817471f1200b6cd1ca56a732910e2 (patch) | |
| tree | c059166ca63656df842a3c6fd59198877ffedebf /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4ccd02777da3226aab625ab0886775be2a5930f0 (diff) | |
drm/msm: convert all pixel format logging to use %p4cc
Logging u32 pixel formats using %4.4s format string with a pointer to
the u32 is somewhat questionable, as well as dependent on byte
order. There's a kernel extension format specifier %p4cc to format 4cc
codes. Use it across the board in msm for pixel format logging.
This should also fix the reported build warning:
include/drm/drm_print.h:536:35: warning: '%4.4s' directive argument is
null [-Wformat-overflow=]
Reported-by: Aishwarya TCV <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Tested-by: Aishwarya TCV <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/587758/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions