summaryrefslogtreecommitdiff
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2018-08-22 14:00:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-16 23:37:16 +0300
commitbe6b1dfe95eda70bd031dc03d420d022fd536d63 (patch)
tree7c9902373849fd1ee379ebc1f917bf8d21f33125 /drivers/base/component.c
parent8f5be0ec23bb9ef3f96659c8dff1340b876600bf (diff)
downloadlinux-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