commit | 2df15fffc612b53b2c8e4ff3c981a82441bc00ae | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Oct 30 20:44:37 2005 +1100 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Jan 09 14:15:31 2006 -0800 |
tree | fc148a3169794bc295cd8088e1a5ff315f0ee80c | |
parent | f17578decc40df8fceff82b106582e30bdfb3189 [diff] [blame] |
[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: Herbert Xu <herbert@gondor.apana.org.au>
diff --git a/drivers/crypto/padlock.h b/drivers/crypto/padlock.h index 3cf2b7a..b78489b 100644 --- a/drivers/crypto/padlock.h +++ b/drivers/crypto/padlock.h
@@ -17,7 +17,7 @@ /* Control word. */ struct cword { - int __attribute__ ((__packed__)) + unsigned int __attribute__ ((__packed__)) rounds:4, algo:3, keygen:1,