* [PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned'
@ 2016-06-21 10:16 Ravishankar Karkala Mallikarjunayya
2016-06-21 11:25 ` Ian Abbott
0 siblings, 1 reply; 2+ messages in thread
From: Ravishankar Karkala Mallikarjunayya @ 2016-06-21 10:16 UTC (permalink / raw)
To: abbotti, hsweeten, gregkh; +Cc: devel, linux-kernel, ravishankarkm32
This 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);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned'
2016-06-21 10:16 [PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned' Ravishankar Karkala Mallikarjunayya
@ 2016-06-21 11:25 ` Ian Abbott
0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2016-06-21 11:25 UTC (permalink / raw)
To: Ravishankar Karkala Mallikarjunayya, hsweeten, gregkh; +Cc: devel, linux-kernel
On 21/06/16 11:16, Ravishankar Karkala Mallikarjunayya wrote:
> This 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, but this one has already been fixed in the "linux-next"
repository and in Greg's "staging" repository.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-21 11:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 10:16 [PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned' Ravishankar Karkala Mallikarjunayya
2016-06-21 11:25 ` Ian Abbott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).