lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1310127766-22975-1-git-send-email-ravishankarkm32@gmail.com>
Date:	Fri,  8 Jul 2011 17:52:46 +0530
From:	Ravishankar <ravishankarkm32@...il.com>
To:	gregkh@...e.de, wfp5p@...ginia.edu
Cc:	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	Ravishankar <ravi.shankar@...enturtles.in>,
	Ravishankar <ravishankarkm32@...il.com>
Subject: [PATCH 4/4] Staging: comedi: fix warning: line over 80 character issue in rtd520.c

From: Ravishankar <ravi.shankar@...enturtles.in>

This is a patch to the rtd520.c file that fixes up a  warning: line over 80 character found by the checkpatch.pl tool

Signed-off-by: Ravishankar <ravishankarkm32@...il.com>
---
 drivers/staging/comedi/drivers/rtd520.c |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index dd00b4a..d31abfb 100644
--- a/drivers/staging/comedi/drivers/rtd520.c
+++ b/drivers/staging/comedi/drivers/rtd520.c
@@ -1581,7 +1581,7 @@ static irqreturn_t rtd_interrupt(int irq,	/* interrupt number (ignored) */
 			}
 
 			/*DPRINTK ("rtd520: DMA transfer: %ld to go, istatus %x\n",
-			   devpriv->aiCount, istatus); */
+			  devpriv->aiCount, istatus); */
 			RtdDma0Control(dev,
 				       (devpriv->
 					dma0Control & ~PLX_DMA_START_BIT)
@@ -1592,7 +1592,8 @@ static irqreturn_t rtd_interrupt(int irq,	/* interrupt number (ignored) */
 			}
 			comedi_event(dev, s);
 		} else {
-			/*DPRINTK ("rtd520: No DMA ready: istatus %x\n", istatus); */
+			/*DPRINTK ("rtd520: No DMA ready: istatus %x\n",
+			  istatus); */
 		}
 	}
 	/* Fall through and check for other interrupt sources */
@@ -1604,9 +1605,10 @@ static irqreturn_t rtd_interrupt(int irq,	/* interrupt number (ignored) */
 		return IRQ_HANDLED;
 
 	if (status & IRQM_ADC_ABOUT_CNT) {	/* sample count -> read FIFO */
-		/* since the priority interrupt controller may have queued a sample
-		   counter interrupt, even though we have already finished,
-		   we must handle the possibility that there is no data here */
+		/* since the priority interrupt controller may have queued a
+		   sample counter interrupt, even though we have already
+		   finished, we must handle the possibility that there is no
+		   data here */
 		if (!(fifoStatus & FS_ADC_HEMPTY)) {	/* 0 -> 1/2 full */
 			/*DPRINTK("rtd520: Sample int, reading 1/2FIFO.  fifo_status 0x%x\n",
 			   (fifoStatus ^ 0x6666) & 0x7777); */
@@ -1701,7 +1703,8 @@ transferDone:
 
 	fifoStatus = RtdFifoStatus(dev);	/* DEBUG */
 	DPRINTK
-	    ("rtd520: Acquisition complete. %ld ints, intStat=%x, overStat=%x\n",
+	    ("rtd520: Acquisition complete. %ld ints, intStat=%x, overStat=%x\n"
+,
 	     devpriv->intCount, status,
 	     0xffff & RtdInterruptOverrunStatus(dev));
 
@@ -1714,7 +1717,8 @@ transferDone:
 */
 static int rtd_ai_poll(struct comedi_device *dev, struct comedi_subdevice *s)
 {
-	/* TODO: This needs to mask interrupts, read_dregs, and then re-enable */
+	/* TODO: This needs to mask interrupts, read_dregs, and
+	 * then re - enable */
 	/* Not sure what to do if DMA is active */
 	return s->async->buf_write_count - s->async->buf_read_count;
 }
-- 
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ