diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-10-30 10:44:37 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-09 23:15:31 +0100 |
commit | 2df15fffc612b53b2c8e4ff3c981a82441bc00ae (patch) | |
tree | fc148a3169794bc295cd8088e1a5ff315f0ee80c | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb (diff) | |
download | linux-2df15fffc612b53b2c8e4ff3c981a82441bc00ae.tar.xz linux-2df15fffc612b53b2c8e4ff3c981a82441bc00ae.zip |
[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>
-rw-r--r-- | drivers/crypto/padlock.h | 2 |
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 @@ /* Control word. */ struct cword { - int __attribute__ ((__packed__)) + unsigned int __attribute__ ((__packed__)) rounds:4, algo:3, keygen:1, |