mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
powerpc/eeh: Fix PE state format
Obviously I had wrong format given to the PE state output from /sys/bus/pci/devices/xxxx/eeh_pe_state with some typoes, which was introduced by commit2013add4ce
. The patch fixes it up. Fixes:2013add4ce
("powerpc/eeh: Show hex prefix for PE state sysfs") Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
3b8a3c0109
commit
7531473c30
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static ssize_t eeh_pe_state_show(struct device *dev,
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
state = eeh_ops->get_state(edev->pe, NULL);
|
state = eeh_ops->get_state(edev->pe, NULL);
|
||||||
return sprintf(buf, "%0x08x %0x08x\n",
|
return sprintf(buf, "0x%08x 0x%08x\n",
|
||||||
state, edev->pe->state);
|
state, edev->pe->state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue