diff options
| author | Lucas De Marchi <[email protected]> | 2025-01-28 15:42:42 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-02-18 20:53:01 +0000 |
| commit | 213e24250feed3bcf58d7594298df2d7e78a88ab (patch) | |
| tree | a18f62bbacd51166c41552637ccd0d67a6b5f4e2 /net/switchdev/switchdev.c | |
| parent | drm/xe: Make GUC binaries dump consistent with other binaries in devcoredump (diff) | |
| download | kernel-213e24250feed3bcf58d7594298df2d7e78a88ab.tar.gz kernel-213e24250feed3bcf58d7594298df2d7e78a88ab.zip | |
drm/xe/guc: Fix size_t print format
Use %zx format to print size_t to remove the following warning when
building for i386:
>> drivers/gpu/drm/xe/xe_guc_ct.c:1727:43: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
1727 | drm_printf(p, "[CTB].length: 0x%lx\n", snapshot->ctb_size);
| ~~~ ^~~~~~~~~~~~~~~~~~
| %zx
Cc: José Roberto de Souza <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 643f209ba3fd ("drm/xe: Make GUC binaries dump consistent with other binaries in devcoredump")
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
(cherry picked from commit 7748289df510638ba61fed86b59ce7d2fb4a194c)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
