]> www.infradead.org Git - linux.git/commit
drm/xe/devcoredump: Use drm_puts and already cached local variables
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 3 Oct 2024 00:46:02 +0000 (17:46 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 8 Oct 2024 01:12:09 +0000 (18:12 -0700)
commit9d86d080cfb3ab935c842ac5525a90430a14c998
treef536bb2d6e87d5fab46b613480e19c76a1c528e0
parent0114f66370bfe139d6407a0b6b8f309af4c12148
drm/xe/devcoredump: Use drm_puts and already cached local variables

There are a bunch of calls to drm_printf with static strings. Switch
them to drm_puts instead.

There are also a bunch of 'coredump->snapshot.XXX' references when
'coredump->snapshot' has alread been cached locally as 'ss'. So use
'ss->XXX' instead.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241003004611.2323493-3-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/xe_devcoredump.c