Re: [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls

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

 



On Fri, Apr 06, 2018 at 02:37:46PM +0200, Sergio Paracuellos wrote:
> This commit removes casts in calls to michael_mic_function.
> Most of them are nosense because types match perfectly function
> parameters. To avoid also int casting for len parameter just
> pass unsigned len to function which makes sense because is only
> being called with unsigned int len parameters.
> 
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
> ---
>  drivers/staging/ks7010/ks_hostif.c   | 17 ++++++-----------
>  drivers/staging/ks7010/michael_mic.c |  2 +-
>  drivers/staging/ks7010/michael_mic.h |  2 +-
>  3 files changed, 8 insertions(+), 13 deletions(-)

This patch did not apply, can you rebase and resend?

thanks,

greg k-h
_______________________________________________
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