Skip to content

Commit 5dc413e

Browse files
author
Fox Snowpatch
committed
1 parent 4f37907 commit 5dc413e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/nx/nx-842.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ struct nx842_crypto_header_group {
159159

160160
struct nx842_crypto_header {
161161
/* New members MUST be added within the struct_group() macro below. */
162-
struct_group_tagged(nx842_crypto_header_hdr, hdr,
162+
__struct_group(nx842_crypto_header_hdr, hdr, __packed,
163163
__be16 magic; /* NX842_CRYPTO_MAGIC */
164164
__be16 ignore; /* decompressed end bytes to ignore */
165165
u8 groups; /* total groups in this header */
166166
);
167167
struct nx842_crypto_header_group group[];
168168
} __packed;
169169
static_assert(offsetof(struct nx842_crypto_header, group) == sizeof(struct nx842_crypto_header_hdr),
170-
"struct member likely outside of struct_group_tagged()");
170+
"struct member likely outside of __struct_group()");
171171

172172
#define NX842_CRYPTO_GROUP_MAX (0x20)
173173

0 commit comments

Comments
 (0)