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)
commit7cc8944e13c73374b6f33b39ca24c0891c87b077
treedece4edb9773a4d6c760c8b4679a86669f9da54a
parent48002bd5af37c3f6ac4a1484427ac52f7f184950
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: 3d8258e (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