diff options
author | José Expósito <jose.exposito89@gmail.com> | 2025-06-30 11:00:53 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-08-11 17:24:15 +0200 |
commit | d28b9d2925b4f773adb21b1fc20260ddc370fb13 (patch) | |
tree | cb3c1c5e0dca4e553938ce22bd2fee3cccc5dd77 /rust/kernel/alloc/allocator.rs | |
parent | 8d2b0853add1d7534dc0794e3c8e0b9e8c4ec640 (diff) |
drm/tests: Fix endian warning
When compiling with sparse enabled, this warning is thrown:
warning: incorrect type in argument 2 (different base types)
expected restricted __le32 const [usertype] *buf
got unsigned int [usertype] *[assigned] buf
Add a cast to fix it.
Fixes: 453114319699 ("drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_xrgb2101010()")
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250630090054.353246-1-jose.exposito89@gmail.com
Diffstat (limited to 'rust/kernel/alloc/allocator.rs')
0 files changed, 0 insertions, 0 deletions