aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-02-15 17:44:32 +0000
committerChristian König <[email protected]>2024-02-19 10:56:02 +0100
commit335126937753844d36036984e96a8f343538a778 (patch)
treed2451a597da9c5db25a1fa912e822468a6d1103f /lib/test_fortify/write_overflow-strncpy-src.c
parentbd915ae73a2d78559b376ad2caf5e4ef51de2455 (diff)
drm/tests/drm_buddy: fix 32b build
Doesn't seem to compile on 32b, presumably due to u64 mod/division. Simplest is to just switch over to u32 here. Also make print modifiers consistent with that. Fixes: a64056bb5a32 ("drm/tests/drm_buddy: add alloc_contiguous test") Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Cc: Arunpravin Paneer Selvam <[email protected]> Cc: Christian König <[email protected]> Cc: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions