projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41caa9
)
greybus: uart: remove packed-attribute from line-coding struct
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 17 Mar 2015 17:24:30 +0000
(18:24 +0100)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 17 Mar 2015 21:34:44 +0000
(22:34 +0100)
Remove packed-attribute from line-coding struct, whose members are all
naturally aligned.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/uart.c
b/drivers/staging/greybus/uart.c
index 575ca568a4f1bcd82721e3ad7139aac824bdfe4a..51e4f7bad47f2b82d8b54dd488ea71ab1656d67d 100644
(file)
--- a/
drivers/staging/greybus/uart.c
+++ b/
drivers/staging/greybus/uart.c
@@
-68,7
+68,7
@@
struct gb_serial_line_coding {
#define GB_SERIAL_SPACE_PARITY 4
__u8 data;
-}
__attribute__ ((packed))
;
+};
struct gb_uart_set_line_coding_request {
struct gb_serial_line_coding line_coding;