mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6ed0529fef
commit
711aab1dbb
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue