powerpc/eeh_sysfs: Fix incorrect comment
authorOliver O'Halloran <oohall@gmail.com>
Mon, 15 Jul 2019 08:56:09 +0000 (18:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:18 +0000 (21:31 +1100)
The EEH_ATTR_SHOW() helper is used to display fields from struct eeh_dev
not struct pci_dn.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190715085612.8802-3-oohall@gmail.com
arch/powerpc/kernel/eeh_sysfs.c

index ab44d965a53c7a5ffe91f0909d7d5b40cfbae8a7..6afd82662b76c69012ba55e5007b7abcb0e80cf6 100644 (file)
@@ -14,7 +14,7 @@
 /**
  * EEH_SHOW_ATTR -- Create sysfs entry for eeh statistic
  * @_name: name of file in sysfs directory
- * @_memb: name of member in struct pci_dn to access
+ * @_memb: name of member in struct eeh_dev to access
  * @_format: printf format for display
  *
  * All of the attributes look very similar, so just