Re: [PATCH 42/50] staging: most: core: fix data type

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

 



On Tue, Nov 21, 2017 at 03:05:16PM +0100, Christian Gromm wrote:
> This patch fixes the type used to manage the channels of an
> registered MOST interface.
> 
> Signed-off-by: Christian Gromm <christian.gromm@xxxxxxxxxxxxx>
> ---
>  drivers/staging/most/core.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/most/core.h b/drivers/staging/most/core.h
> index d6e9b87..7c44791 100644
> --- a/drivers/staging/most/core.h
> +++ b/drivers/staging/most/core.h
> @@ -238,7 +238,7 @@ struct most_interface {
>  	struct module *mod;
>  	enum most_interface_type interface;
>  	const char *description;
> -	int num_channels;
> +	unsigned int num_channels;

"fixes" it in what way?  What's wrong with just an int?  What is the bug
at this point in time without the patch?

Please be more descriptive...

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