summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2016-10-12 16:47:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-10-21 06:03:46 +0300
commit3cf799680d2612a21d50ed554848dd37241672c8 (patch)
tree7eb07d9787a206db4606cae2448401baba29b249 /drivers
parent58010fa6f71c9577922b22e46014b95a4ec80fa0 (diff)
downloadlinux-3cf799680d2612a21d50ed554848dd37241672c8.tar.xz
crypto: ccp - change type of struct member lsb to signed
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/ccp/ccp-dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h
index da5f4a678083..5afaa53672b3 100644
--- 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 */