Re: [PATCH 6/7] drivers: Repace get_task_comm() with %pTN

2024-12-16 Thread Lyude Paul
For the nouveau bits: Reviewed-by: Lyude Paul On Fri, 2024-12-13 at 13:46 +0800, 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.

Re: [PATCH 6/7] drivers: Repace get_task_comm() with %pTN

2024-12-12 Thread Jiri Slaby
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 Cc: Ofir Bitton Cc: Oded Gabbay Cc:

[PATCH 6/7] drivers: Repace get_task_comm() with %pTN

2024-12-12 Thread Yafang Shao
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 Cc: Ofir Bitton Cc: Oded Gabbay Cc: Jani Nikula Cc: Rodrigo Vivi Cc: Joonas