public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file
@ 2014-05-19 16:19 Raghavendra Ganiga
  2014-05-19 16:59 ` Ian Abbott
  0 siblings, 1 reply; 2+ messages in thread
From: Raghavendra Ganiga @ 2014-05-19 16:19 UTC (permalink / raw)
  To: abbotti, hsweeten, gregkh, devel; +Cc: linux-kernel, Raghavendra Ganiga

This is a patch to remove warnings reported by checkpatch tool on
comedi_test.c file

Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
---
 drivers/staging/comedi/drivers/comedi_test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/comedi/drivers/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c
index ad5014a..9896a16 100644
--- a/drivers/staging/comedi/drivers/comedi_test.c
+++ b/drivers/staging/comedi/drivers/comedi_test.c
@@ -188,6 +188,7 @@ static void waveform_ai_interrupt(unsigned long arg)
 
 	if (cmd->stop_src == TRIG_COUNT) {
 		unsigned int remaining = cmd->stop_arg - devpriv->ai_count;
+
 		if (num_scans >= remaining) {
 			/* about to finish */
 			num_scans = remaining;
@@ -198,6 +199,7 @@ static void waveform_ai_interrupt(unsigned long arg)
 	for (i = 0; i < num_scans; i++) {
 		for (j = 0; j < cmd->chanlist_len; j++) {
 			unsigned short sample;
+
 			sample = fake_waveform(dev, CR_CHAN(cmd->chanlist[j]),
 					       CR_RANGE(cmd->chanlist[j]),
 					       devpriv->usec_current +
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file
  2014-05-19 16:19 [PATCH] Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file Raghavendra Ganiga
@ 2014-05-19 16:59 ` Ian Abbott
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2014-05-19 16:59 UTC (permalink / raw)
  To: Raghavendra Ganiga, hsweeten, gregkh, devel; +Cc: linux-kernel

On 2014-05-19 17:19, Raghavendra Ganiga wrote:
> This is a patch to remove warnings reported by checkpatch tool on
> comedi_test.c file
>
> Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
> ---
>   drivers/staging/comedi/drivers/comedi_test.c | 2 ++
>   1 file changed, 2 insertions(+)

Thanks!

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

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-19 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 16:19 [PATCH] Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file Raghavendra Ganiga
2014-05-19 16:59 ` Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox