Re: [PATCH kernel 3/5] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev

2017-08-27 Thread Michael Ellerman
Alexey Kardashevskiy writes: > The eeh_dev struct already holds a pointer to pci_dn which it does not > exist without and pci_dn itself holds the very same pointer so just > use it. > > Signed-off-by: Alexey Kardashevskiy > --- > arch/powerpc/include/asm/eeh.h | 1 - > arch/power

Re: [PATCH kernel 3/5] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:18, Alexey Kardashevskiy wrote: The eeh_dev struct already holds a pointer to pci_dn which it does not exist without and pci_dn itself holds the very same pointer so just use it. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andrew Donnellan --- arch/powerpc/include/asm

[PATCH kernel 3/5] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev

2017-08-23 Thread Alexey Kardashevskiy
The eeh_dev struct already holds a pointer to pci_dn which it does not exist without and pci_dn itself holds the very same pointer so just use it. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/eeh.h | 1 - arch/powerpc/kernel/eeh.c| 7 +++---