git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: constify path argument to kernel_read_file_from_path
[sfrench/cifs-2.6.git]
/
sound
/
oss
/
sound_firmware.h
diff --git
a/sound/oss/sound_firmware.h
b/sound/oss/sound_firmware.h
index da4c67e005ed1302a49ad80e3c8e1bcad73995c4..2be465277ba0fd48ec9a75d26f2cce4d6c8a7dd4 100644
(file)
--- 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;