projects/linux·commit f8ff6c73

ide: fix a typo in the settings proc file name

f8ff6c73 · Christoph Hellwig <[email protected]> · 2018-12-20 17:16:53 +01:00

Fixes: ec7d9c9ce8 ("ide: replace ->proc_fops with ->proc_show")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
f8ff6c732d35904d773043f979b844ef330c701b
Parents
52e60b75

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/ide/ide-proc.cmodified+1−1View file

drivers/ide/ide-proc.c

View file
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c
index 4c8c7a6..a5dc135 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);
}