Skip to content
Commit 168f5ac6 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Linus Torvalds
Browse files

mm cleanup: shmem_file_setup: 'char *' -> 'const char *' for name argument



As function shmem_file_setup does not modify/allocate/free/pass given
filename - mark it as const.

Signed-off-by: default avatarSergei Trofimovich <slyfox@inbox.ru>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aca8bf32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment