From: Gary R Hook Date: Wed, 12 Oct 2016 13:47:03 +0000 (-0500) Subject: crypto: ccp - change type of struct member lsb to signed X-Git-Tag: v4.14-rc1~1766^2~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cf799680d2612a21d50ed554848dd37241672c8;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index da5f4a6..5afaa536 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 */