aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/padlock.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-30 04:44:37 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-09 17:15:31 -0500
commit2df15fffc612b53b2c8e4ff3c981a82441bc00ae (patch)
treefc148a3169794bc295cd8088e1a5ff315f0ee80c /drivers/crypto/padlock.h
parentf17578decc40df8fceff82b106582e30bdfb3189 (diff)
[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>
Diffstat (limited to 'drivers/crypto/padlock.h')
-rw-r--r--drivers/crypto/padlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/padlock.h b/drivers/crypto/padlock.h
index 3cf2b7a12348..b78489bc298a 100644
--- a/drivers/crypto/padlock.h
+++ b/drivers/crypto/padlock.h
@@ -17,7 +17,7 @@
17 17
18/* Control word. */ 18/* Control word. */
19struct cword { 19struct cword {
20 int __attribute__ ((__packed__)) 20 unsigned int __attribute__ ((__packed__))
21 rounds:4, 21 rounds:4,
22 algo:3, 22 algo:3,
23 keygen:1, 23 keygen:1,