Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ide: fix a typo in the settings proc file name

Fixes: ec7d9c9ce8 ("ide: replace ->proc_fops with ->proc_show")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Christoph Hellwig and committed by
Linus Torvalds
f8ff6c73 52e60b75

+1 -1
+1 -1
drivers/ide/ide-proc.c
··· 544 544 drive->proc = proc_mkdir(drive->name, parent); 545 545 if (drive->proc) { 546 546 ide_add_proc_entries(drive->proc, generic_drive_entries, drive); 547 - proc_create_data("setting", S_IFREG|S_IRUSR|S_IWUSR, 547 + proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR, 548 548 drive->proc, &ide_settings_proc_fops, 549 549 drive); 550 550 }