On 13. 12. 24, 6:46, Yafang Shao wrote:
Since task->comm is guaranteed to be NUL-terminated, we can print it
directly without the need to copy it into a separate buffer. This
simplifies the code and avoids unnecessary operations.
Signed-off-by: Yafang Shao <[email protected]>
Cc: Ofir Bitton <[email protected]>
Cc: Oded Gabbay <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Karol Herbst <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: Danilo Krummrich <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jiri Slaby <[email protected]>
---
drivers/accel/habanalabs/common/context.c | 5 ++---
.../accel/habanalabs/common/habanalabs_ioctl.c | 15 +++++----------
.../gpu/drm/i915/display/intel_display_driver.c | 10 ++++------
drivers/gpu/drm/nouveau/nouveau_chan.c | 4 +---
drivers/gpu/drm/nouveau/nouveau_drm.c | 7 +++----
drivers/tty/tty_io.c | 5 ++---
FOr tty:
Reviewed-by: Jiri Slaby <[email protected]>
thanks,
--
js
suse labs