Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bca74ee5 authored by Thomas Jespersen's avatar Thomas Jespersen Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visornic: Replace symbolic perms with octal



Replace symbolic permissions S_IRUSR and S_IWUSR for their octal
counterparts

Signed-off-by: default avatarThomas Jespersen <laumann.thomas@gmail.com>
Acked-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 008b5d28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2146,11 +2146,11 @@ static int visornic_init(void)
	if (!visornic_debugfs_dir)
		return err;

	ret = debugfs_create_file("info", S_IRUSR, visornic_debugfs_dir, NULL,
	ret = debugfs_create_file("info", 0400, visornic_debugfs_dir, NULL,
				  &debugfs_info_fops);
	if (!ret)
		goto cleanup_debugfs;
	ret = debugfs_create_file("enable_ints", S_IWUSR, visornic_debugfs_dir,
	ret = debugfs_create_file("enable_ints", 0200, visornic_debugfs_dir,
				  NULL, &debugfs_enable_ints_fops);
	if (!ret)
		goto cleanup_debugfs;