| commit | 4034fe140e75d6e51b72d1fd16805e053b9b633c | [log] [tgz] |
|---|---|---|
| author | Xu Panda <xu.panda@zte.com.cn> | Thu Jan 05 20:17:57 2023 +0800 |
| committer | Paul E. McKenney <paulmck@kernel.org> | Thu Jan 05 09:42:06 2023 -0800 |
| tree | 632b90c2d02199e9d52564aa5fc4415e949dd730 | |
| parent | b059492a647e6ae9283564179f5bea81b0426671 [diff] |
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. 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>