Procházet zdrojové kódy

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 před 9 roky
rodič
revize
3cf799680d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 */