Explorar o código

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>
Gary R Hook %!s(int64=9) %!d(string=hai) anos
pai
achega
3cf799680d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/crypto/ccp/ccp-dev.h

+ 1 - 1
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 */