Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2df15fff authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f17578de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

/* Control word. */
struct cword {
	int __attribute__ ((__packed__))
	unsigned int __attribute__ ((__packed__))
		rounds:4,
		algo:3,
		keygen:1,