summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-06-25 14:25:59 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-17 07:27:56 +0200
commitccaabeea02026e1fbf9274800e43d9135914cd72 (patch)
tree9119ff27b6d91786b6bd6ad25732e582dcf3e387 /drivers/s390/char
parentd4f5d79e97ca6e903700d3d9455afb5694cc4833 (diff)
s390/chsc: fix packed-not-aligned warnings
Remove attribute packed where possible failing this add proper alignment information to fix warnings like the one below: drivers/s390/cio/chsc.c: In function 'chsc_siosl': drivers/s390/cio/chsc.c:1287:2: warning: alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] } __attribute__ ((packed)) *siosl_area; Note: this patch should be a nop since non of these structs use auto storage but allocated pages. However there are changes to the generated code because of additional padding at the end of some of the structs due to alignment when memset(foo, 0, sizeof(*foo)) is used. Signed-off-by: Sebastian Ott <sebott@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions