aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfire855 <thefire855@gmail.com>2018-03-23 16:25:14 +0100
committerMoyster <oysterized@gmail.com>2018-05-16 13:11:49 +0200
commitc8630510c394309fea0cddddf21dfb1340ec6010 (patch)
tree043c5dbe258dad52af445cce185dc2c11fb1062f
parent01e8a5fb758f0b0ff484353bdca242cf2068d28f (diff)
mediatek: mmc: disable all proc entries
They are not used anywhere and are creating a higher security risk
-rw-r--r--drivers/misc/mediatek/mmc-host/mt6735/dbg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/mmc-host/mt6735/dbg.c b/drivers/misc/mediatek/mmc-host/mt6735/dbg.c
index f1e9fe417..468cb5cd7 100644
--- a/drivers/misc/mediatek/mmc-host/mt6735/dbg.c
+++ b/drivers/misc/mediatek/mmc-host/mt6735/dbg.c
@@ -3450,7 +3450,8 @@ static const struct file_operations msdc_voltage_flag_fops = {
};
#endif
int msdc_debug_proc_init(void)
-{
+{
+#if 0
struct proc_dir_entry *prEntry;
struct proc_dir_entry *tune;
struct proc_dir_entry *tune_flag;
@@ -3546,6 +3547,7 @@ int msdc_debug_proc_init(void)
pr_err("[%s]: failed to create /proc/msdc_voltage_flag\n", __func__);
}
#endif
+#endif
return 0 ;
}
EXPORT_SYMBOL_GPL(msdc_debug_proc_init);