diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2018-08-22 14:00:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-16 23:37:16 +0300 |
commit | be6b1dfe95eda70bd031dc03d420d022fd536d63 (patch) | |
tree | 7c9902373849fd1ee379ebc1f917bf8d21f33125 /drivers/base/component.c | |
parent | 8f5be0ec23bb9ef3f96659c8dff1340b876600bf (diff) | |
download | linux-be6b1dfe95eda70bd031dc03d420d022fd536d63.tar.xz |
drivers/base/devtmpfs.c: don't pretend path is const in delete_path
path is the result of kstrdup, and we repeatedly call strrchr on it,
modifying it through the returned pointer. So there's no reason to
pretend path is const.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/component.c')
0 files changed, 0 insertions, 0 deletions