projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8570bcd
)
misc: tizen-inform-reboot: Remove force_uaccess begin and end func
author
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Thu, 27 Oct 2022 08:31:56 +0000
(17:31 +0900)
committer
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 09:35:22 +0000
(18:35 +0900)
Configuration SET_FS is disabled, so this feature is not required.
Change-Id: I349afbd8d2a97aada87080d477cf5ca38d7016c9
Link:
https://lore.kernel.org/r/20201202131558.39270-10-mark.rutland@arm.com
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/misc/tizen-inform-reboot.c
patch
|
blob
|
history
diff --git
a/drivers/misc/tizen-inform-reboot.c
b/drivers/misc/tizen-inform-reboot.c
index
9a9ed92
..
861554a
100644
(file)
--- a/
drivers/misc/tizen-inform-reboot.c
+++ b/
drivers/misc/tizen-inform-reboot.c
@@
-24,7
+24,6
@@
static int inform_reboot_notifier(struct notifier_block *nb,
char *filename = CONFIG_TIZEN_INFORM_PATH;
struct file *file;
loff_t pos = 0;
- mm_segment_t old_fs = force_uaccess_begin();
file = filp_open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0644);
if (!IS_ERR(file)) {
@@
-54,8
+53,6
@@
static int inform_reboot_notifier(struct notifier_block *nb,
"Inform file path should be described correctly in config.\n");
}
- force_uaccess_end(old_fs);
-
return NOTIFY_DONE;
}