projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17578d
)
[PADLOCK] Fix sparse warning about 1-bit signed bit-field
author
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 30 Oct 2005 09:44:37 +0000
(20:44 +1100)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:15:31 +0000
(14:15 -0800)
Change the bit-field in struct cword to unsigned to shut sparse up.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock.h
patch
|
blob
|
history
diff --git
a/drivers/crypto/padlock.h
b/drivers/crypto/padlock.h
index 3cf2b7a123487ce014fa074a22651bb77ea498ba..b78489bc298ac95d487de4bfaae06174fad5edf4 100644
(file)
--- 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,