Skip to contentSkip to conversation

Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file

PATCH In review Raghavendra Ganiga 2 participants 2 messages May 19, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: comedi: fixed warnings reported by checkpatch tool on comedi_test.c file

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

---
 drivers/staging/comedi/drivers/comedi_test.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/comedi/drivers/comedi_test.c +2 -0
index ad5014a..9896a16 100644
@@ -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 +
Signature · 1 line
1.8.3.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Raghavendra Ganiga

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

---
  drivers/staging/comedi/drivers/comedi_test.c | 2 ++
  1 file changed, 2 insertions(+)

Thanks!

Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-