summaryrefslogtreecommitdiff
path: root/sound/oss
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2017-09-13 05:45:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-15 06:18:45 +0300
commit711aab1dbb324d321e3d84368a435a78908c7bce (patch)
tree59f2bfbe02d994f4f69dc8d44fc8a4a4bd12228b /sound/oss
parent6ed0529fef09f50ef41d396cb55c5519e4936b16 (diff)
downloadlinux-711aab1dbb324d321e3d84368a435a78908c7bce.tar.xz
vfs: constify path argument to kernel_read_file_from_path
This patch constifies the path argument to kernel_read_file_from_path(). Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/sound_firmware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/sound_firmware.h b/sound/oss/sound_firmware.h
index da4c67e005ed..2be465277ba0 100644
--- a/sound/oss/sound_firmware.h
+++ b/sound/oss/sound_firmware.h
@@ -21,7 +21,7 @@ static inline int mod_firmware_load(const char *fn, char **fp)
loff_t size;
int err;
- err = kernel_read_file_from_path((char *)fn, (void **)fp, &size,
+ err = kernel_read_file_from_path(fn, (void **)fp, &size,
131072, READING_FIRMWARE);
if (err < 0)
return 0;