diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2018-08-22 13:00:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-16 22:37:16 +0200 |
commit | be6b1dfe95eda70bd031dc03d420d022fd536d63 (patch) | |
tree | 7c9902373849fd1ee379ebc1f917bf8d21f33125 /drivers/base/component.c | |
parent | 8f5be0ec23bb9ef3f96659c8dff1340b876600bf (diff) | |
download | linux-be6b1dfe95eda70bd031dc03d420d022fd536d63.tar.bz2 |
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