Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Herbert Xu and committed by
David S. Miller
2df15fff f17578de

+1 -1
+1 -1
drivers/crypto/padlock.h
··· 17 17 18 18 /* Control word. */ 19 19 struct cword { 20 - int __attribute__ ((__packed__)) 20 + unsigned int __attribute__ ((__packed__)) 21 21 rounds:4, 22 22 algo:3, 23 23 keygen:1,