Home
last modified time | relevance | path

Searched hist:"16 d78e8c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/trace/events/
H A Drcu.h16d78e8c Thu Jan 05 06:17:57 CST 2023 Xu Panda <xu.panda@zte.com.cn> rcu/trace: use strscpy() to instead of strncpy()

This commit saves a line of code by switching from strncpy() to strscpy()
by permitting the later NUL assignment to be removed. While in the area,
save another line by taking advantage of 100 characters.

Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>