OSDN Git Service

greybus: uart: fix message packing
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 1 Aug 2015 09:50:39 +0000 (11:50 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 4 Aug 2015 03:00:41 +0000 (20:00 -0700)
commitcfc5f2c6deb5493d5854036f3d0f396ea4a3e99d
tree997beb2668207c1d35e797c2d16fa3db16f43c25
parent2130f09871a70ce425b8d328a641b7a1935ca831
greybus: uart: fix message packing

Add missing packed attributes to prevent implicit structure padding.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h