mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
kobject: modify kobject_get_path() to take a const *
[ Upstream commit33a0a1e3b3] kobject_get_path() does not modify the kobject passed to it, so make the pointer constant. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20221001165315.2690141-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of:3bb2a01caa("kobject: Fix slab-out-of-bounds in fill_kobj_path()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7cf515bf9e
commit
f3ffd86915
2 changed files with 6 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue