Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit da90d026 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by DarkJoker360
Browse files

BACKPORT: cgroup: use strlcpy() instead of strscpy() to avoid spurious warning



As long as cft->name is guaranteed to be NUL-terminated, using strlcpy() would
work just as well and avoid that warning, so the change below could be folded
into that commit.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Change-Id: I8215beea12d94fda6a7834f8be6f8e0891285d0e
(cherry picked from commit 50034ed49645463a16327cad05694e201e6b4126)
Bug: 154548692
Signed-off-by: default avatarMarco Ballesio <balejs@google.com>
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
parent 9667897c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment