Commit c943c4b4 authored by Josef Sipek's avatar Josef Sipek Committed by Linus Torvalds
Browse files

[PATCH] struct path: convert sh

Signed-off-by: default avatarJosef Sipek <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 3d5ff529
......@@ -142,7 +142,7 @@ static u64 sh7750_read_counter(int counter)
static inline int to_counter(struct file *file)
const unsigned char *name = file->f_dentry->d_parent->;
const unsigned char *name = file->f_path.dentry->d_parent->;
return (int)simple_strtol(name, NULL, 10);
Markdown is supported
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