Re: [PATCH] staging: ccree: fixed pointer signedness warnings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 21, 2017 at 11:25:47AM +0000, Jeremy Sowden wrote:
> Changed the types of a number of index and length variables from int to
> unsigned int.  Fixes a number of warnings arising from their addresses
> being passed to functions expecting pointers to unsigned ints.
> 
> Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
> ---
>  drivers/staging/ccree/ssi_aead.c       | 13 ++++++++-----
>  drivers/staging/ccree/ssi_buffer_mgr.c |  2 +-
>  drivers/staging/ccree/ssi_cipher.c     |  3 ++-
>  drivers/staging/ccree/ssi_hash.c       | 15 ++++++++-------
>  4 files changed, 19 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c
> index 1522b00e08cf..638e3b515a1f 100644
> --- a/drivers/staging/ccree/ssi_aead.c
> +++ b/drivers/staging/ccree/ssi_aead.c
> @@ -275,7 +275,8 @@ static void cc_aead_complete(struct device *dev, void *cc_req)
>  	aead_request_complete(areq, err);
>  }
>  
> -static int xcbc_setkey(struct cc_hw_desc *desc, struct cc_aead_ctx *ctx)
> +static unsigned int xcbc_setkey
> +	(struct cc_hw_desc *desc, struct cc_aead_ctx *ctx)

Your changelog text does not match up with what you are doing here at
all!

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux