From: Christoph Hellwig Date: Thu, 20 Dec 2018 16:16:53 +0000 (+0100) Subject: ide: fix a typo in the settings proc file name X-Git-Tag: v4.19.19~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4a6ac28d44a8ed2fdc80745d01136d81383d7ed;p=platform%2Fkernel%2Flinux-rpi.git ide: fix a typo in the settings proc file name commit f8ff6c732d35904d773043f979b844ef330c701b upstream. Fixes: ec7d9c9ce8 ("ide: replace ->proc_fops with ->proc_show") Reported-by: kernel test robot Signed-off-by: Christoph Hellwig Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index 45c9974..0e51803 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c @@ -544,7 +544,7 @@ void ide_proc_port_register_devices(ide_hwif_t *hwif) drive->proc = proc_mkdir(drive->name, parent); if (drive->proc) { ide_add_proc_entries(drive->proc, generic_drive_entries, drive); - proc_create_data("setting", S_IFREG|S_IRUSR|S_IWUSR, + proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR, drive->proc, &ide_settings_proc_fops, drive); }