提交 2df15fff 编写于 作者: H Herbert Xu 提交者: David S. Miller

[PADLOCK] Fix sparse warning about 1-bit signed bit-field

Change the bit-field in struct cword to unsigned to shut sparse up.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 f17578de
......@@ -17,7 +17,7 @@
/* Control word. */
struct cword {
int __attribute__ ((__packed__))
unsigned int __attribute__ ((__packed__))
rounds:4,
algo:3,
keygen:1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册