Skip to content

Commit 877bba9

Browse files
elohim-etzkardebayan
authored andcommitted
mtk_lp_kernfs: Add uid/gid parameters to __kernfs_create_file()
Signed-off-by: Naveen <133593113+elohim-etz@users.noreply.github.com>
1 parent ac70b85 commit 877bba9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/misc/mediatek/base/power/spm/common/mtk_idle_fs/mtk_lp_kernfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ int mtk_lp_kernfs_create_file(struct kernfs_node *parent,
196196

197197
kn = __kernfs_create_file(parent, name,
198198
mode & 0755,
199+
GLOBAL_ROOT_UID, GLOBAL_ROOT_GID,
199200
4096, ops,
200201
(void *)attr, NULL, NULL);
201202

0 commit comments

Comments
 (0)