diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/bc.c | 2 | ||||
| -rw-r--r-- | miscutils/i2c_tools.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index 4d987325e..f339b895c 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
| @@ -517,7 +517,7 @@ struct BcLexKeyword { | |||
| 517 | }; | 517 | }; |
| 518 | #define LEX_KW_ENTRY(a, b) \ | 518 | #define LEX_KW_ENTRY(a, b) \ |
| 519 | { .name8 = a /*, .posix = b */ } | 519 | { .name8 = a /*, .posix = b */ } |
| 520 | static const struct BcLexKeyword bc_lex_kws[20] = { | 520 | static const struct BcLexKeyword bc_lex_kws[20] ALIGN8 = { |
| 521 | LEX_KW_ENTRY("auto" , 1), // 0 | 521 | LEX_KW_ENTRY("auto" , 1), // 0 |
| 522 | LEX_KW_ENTRY("break" , 1), // 1 | 522 | LEX_KW_ENTRY("break" , 1), // 1 |
| 523 | LEX_KW_ENTRY("continue", 0), // 2 note: this one has no terminating NUL | 523 | LEX_KW_ENTRY("continue", 0), // 2 note: this one has no terminating NUL |
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c index 09364e396..57cac5d47 100644 --- a/miscutils/i2c_tools.c +++ b/miscutils/i2c_tools.c | |||
| @@ -1052,7 +1052,7 @@ struct adap_desc { | |||
| 1052 | const char *algo; | 1052 | const char *algo; |
| 1053 | }; | 1053 | }; |
| 1054 | 1054 | ||
| 1055 | static const struct adap_desc adap_descs[] = { | 1055 | static const struct adap_desc adap_descs[] ALIGN_PTR = { |
| 1056 | { .funcs = "dummy", .algo = "Dummy bus", }, | 1056 | { .funcs = "dummy", .algo = "Dummy bus", }, |
| 1057 | { .funcs = "isa", .algo = "ISA bus", }, | 1057 | { .funcs = "isa", .algo = "ISA bus", }, |
| 1058 | { .funcs = "i2c", .algo = "I2C adapter", }, | 1058 | { .funcs = "i2c", .algo = "I2C adapter", }, |
| @@ -1064,7 +1064,7 @@ struct i2c_func { | |||
| 1064 | const char* name; | 1064 | const char* name; |
| 1065 | }; | 1065 | }; |
| 1066 | 1066 | ||
| 1067 | static const struct i2c_func i2c_funcs_tab[] = { | 1067 | static const struct i2c_func i2c_funcs_tab[] ALIGN_PTR = { |
| 1068 | { .value = I2C_FUNC_I2C, | 1068 | { .value = I2C_FUNC_I2C, |
| 1069 | .name = "I2C" }, | 1069 | .name = "I2C" }, |
| 1070 | { .value = I2C_FUNC_SMBUS_QUICK, | 1070 | { .value = I2C_FUNC_SMBUS_QUICK, |
