projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58010fa
)
crypto: ccp - change type of struct member lsb to signed
author
Gary R Hook
<gary.hook@amd.com>
Wed, 12 Oct 2016 13:47:03 +0000
(08:47 -0500)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 21 Oct 2016 03:03:46 +0000
(11:03 +0800)
The lsb field uses a value of -1 to indicate that it
is unassigned. Therefore type must be a signed int.
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev.h
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccp/ccp-dev.h
b/drivers/crypto/ccp/ccp-dev.h
index
da5f4a6
..
5afaa53
100644
(file)
--- a/
drivers/crypto/ccp/ccp-dev.h
+++ b/
drivers/crypto/ccp/ccp-dev.h
@@
-278,7
+278,7
@@
struct ccp_cmd_queue {
/* Private LSB that is assigned to this queue, or -1 if none.
* Bitmap for my private LSB, unused otherwise
*/
-
unsigned
int lsb;
+ int lsb;
DECLARE_BITMAP(lsbmap, PLSB_MAP_SIZE);
/* Queue processing thread */