On Wed, Jul 16, 2014 at 08:30:55AM +, David Laight wrote:
>From: Gavin Shan
>> The patch prints 4 PCIE or AER config registers each line, which
>> is part of the EEH log so that it looks a bit more compact.
>...
>> -for (i=0; i<=8; i++) {
>> +for (i=0, j=0; i<=8; i++) {
From: Gavin Shan
> The patch prints 4 PCIE or AER config registers each line, which
> is part of the EEH log so that it looks a bit more compact.
...
> - for (i=0; i<=8; i++) {
> + for (i=0, j=0; i<=8; i++) {
> eeh_ops->read_config(dn, cap+4*i, 4, &cfg)
The patch prints 4 PCIE or AER config registers each line, which
is part of the EEH log so that it looks a bit more compact.
Suggested-by: Benjamin Herrenschmidt
Signed-off-by: Gavin Shan
---
arch/powerpc/kernel/eeh.c | 37 +++--
1 file changed, 31 insertions(+),