]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/eeh: Show hex prefix for PE state sysfs
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 1 Oct 2014 04:34:51 +0000 (14:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Oct 2014 12:23:34 +0000 (22:23 +1000)
commit2013add4ce73c93ae2148969a9ec3ecc8b1e26fa
tree6105b61b82fa4812f792139de69c45e250a72c45
parentfe7e85c6f5ff63a8cd081deb35e58a0bd47589cd
powerpc/eeh: Show hex prefix for PE state sysfs

As Michael suggested, the hex prefix for the output of EEH PE
state sysfs entry (/sys/bus/pci/devices/xxx/eeh_pe_state) is
always informative to users.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_sysfs.c