Skip to content

Commit

Permalink
[PADLOCK] Fix sparse warning about 1-bit signed bit-field
Browse files Browse the repository at this point in the history
Change the bit-field in struct cword to unsigned to shut sparse up.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jan 9, 2006
1 parent f17578d commit 2df15ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/padlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

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

0 comments on commit 2df15ff

Please sign in to comment.