Messages in this thread | | | Date | Fri, 12 Jan 2018 11:38:18 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH] string: drop __must_check from strscpy() and restore strscpy() usages in cgroup |
| |
Hello, Linus.
On Tue, Jan 09, 2018 at 07:21:15AM -0800, Tejun Heo wrote: > From ceb2d2b2e496f180be95adb670337bb254f89323 Mon Sep 17 00:00:00 2001 > From: Tejun Heo <tj@kernel.org> > Date: Tue, 9 Jan 2018 07:00:29 -0800 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > e7fd37ba1217 ("cgroup: avoid copying strings longer than the buffers") > converted possibly unsafe strncpy() usages in cgroup to strscpy(). > However, although the callsites are completely fine with truncated > copied, because strscpy() is marked __must_check, it led to the > following warnings.
Do you want to pick up this patch? If not, I can route it through cgroup tree.
Thanks.
-- tejun
| |