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 <laoar.s...@gmail.com>
Cc: Ofir Bitton <obit...@habana.ai>
Cc: Oded Gabbay <ogab...@kernel.org>
Cc: Jani Nikula <jani.nik...@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.v...@intel.com>
Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
Cc: Tvrtko Ursulin <tursu...@ursulin.net>
Cc: David Airlie <airl...@gmail.com>
Cc: Simona Vetter <sim...@ffwll.ch>
Cc: Karol Herbst <kher...@redhat.com>
Cc: Lyude Paul <ly...@redhat.com>
Cc: Danilo Krummrich <d...@redhat.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Jiri Slaby <jirisl...@kernel.org>
---
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 <jirisl...@kernel.org>
thanks,
--
js
suse labs