Message ID | 20190715085612.8802-3-oohall@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 89f51839bd75b1aa8fa062a5f2b4bbcde560f6e2 |
Headers | show |
Series | [1/5] powerpc/eeh_cache: Don't use pci_dn when inserting new ranges | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch next (f5c20693d8edcd665f1159dc941b9e7f87c17647) |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
On Mon, Jul 15, 2019 at 06:56:09PM +1000, Oliver O'Halloran wrote: > 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> Good. Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com> > --- > arch/powerpc/kernel/eeh_sysfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/eeh_sysfs.c b/arch/powerpc/kernel/eeh_sysfs.c > index 3fa04dd..6a2c2886f 100644 > --- a/arch/powerpc/kernel/eeh_sysfs.c > +++ b/arch/powerpc/kernel/eeh_sysfs.c > @@ -30,7 +30,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 > -- > 2.9.5 >
diff --git a/arch/powerpc/kernel/eeh_sysfs.c b/arch/powerpc/kernel/eeh_sysfs.c index 3fa04dd..6a2c2886f 100644 --- a/arch/powerpc/kernel/eeh_sysfs.c +++ b/arch/powerpc/kernel/eeh_sysfs.c @@ -30,7 +30,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
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> --- arch/powerpc/kernel/eeh_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)