Re: [PATCH 01/10] Staging: comedi: Use unsigned int instead of unsigned issue in pcmuio.c

Ian Abbott
2016-06-01T13:25:53Z

On 01/06/16 11:26, Ravishankar Karkala Mallikarjunayya wrote:
> This is a patch to the pcmuio.c file that fixes up a
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> found by the checkpatch.pl tool.
>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com>
> ---
> drivers/staging/comedi/drivers/pcmuio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/drivers/pcmuio.c b/drivers/staging/comedi/drivers/pcmuio.c
> index 7ea8130..8ad64f2 100644
> --- a/drivers/staging/comedi/drivers/pcmuio.c
> +++ b/drivers/staging/comedi/drivers/pcmuio.c
> @@ -307,7 +307,7 @@ static void pcmuio_stop_intr(struct comedi_device *dev,
>
> static void pcmuio_handle_intr_subdev(struct comedi_device *dev,
> struct comedi_subdevice *s,
> - unsigned triggered)
> + unsigned int triggered)
> {
> struct pcmuio_private *devpriv = dev->private;
> int asic = pcmuio_subdevice_to_asic(s);
>

Thanks!

Reviewed-by: Ian Abbott <abbotti@mev.co.uk>