]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: reshuffle struct used to write debug data
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 9 Oct 2015 09:07:06 +0000 (11:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:17 +0000 (14:32 +0200)
commit4ed97c637bb71112897455019e44d7879314cef5
treedece4edb9773a4d6c760c8b4679a86669f9da54a
parentd7932263c65b58eb9fdbb7e20339baaf40415108
s390/pci: reshuffle struct used to write debug data

zpci_err_insn writes stale stack content to the debugfs.

Ensure that the struct in zpci_err_insn is ordered in a way that
we don't have uninitialized holes in it. In addition to that
add the packed attribute.

Fixes: c6cf40a (s390/pci: move debug messages to debugfs)
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_insn.c