mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anson Jacob <ansonjacob.aj@gmail.com>
To: abbotti@mev.co.uk, hsweeten@visionengravers.com,
	gregkh@linuxfoundation.org, andrey_utkin@fastmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 6/8] staging: comedi: jr3_pci.c: Fix checkpatch warning
Date: Fri, 26 Aug 2016 19:14:13 -0400	[thread overview]
Message-ID: <29206e5f4ad17a0eb874be7a9ff0f79f5da321e3.1472252558.git.ansonjacob.aj@gmail.com> (raw)
In-Reply-To: <cover.1472252557.git.ansonjacob.aj@gmail.com>

Fix checkpatch.pl warning 'line over 80 characters'
Remove extra space after /*

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
 drivers/staging/comedi/drivers/jr3_pci.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
index 6c4ff02..8306f6b 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.c
+++ b/drivers/staging/comedi/drivers/jr3_pci.c
@@ -141,7 +141,7 @@ static void set_transforms(struct jr3_channel __iomem *channel,
 {
 	int i;
 
-	num &= 0x000f;		/*  Make sure that 0 <= num <= 15 */
+	num &= 0x000f;		/* Make sure that 0 <= num <= 15 */
 	for (i = 0; i < 8; i++) {
 		set_u16(&channel->transforms[num].link[i].link_type,
 			transf.link[i].link_type);
@@ -323,10 +323,10 @@ static int read_idm_word(const u8 *data, size_t size, int *pos,
 	int value;
 
 	if (pos && val) {
-		/*  Skip over non hex */
+		/* Skip over non hex */
 		for (; *pos < size && !isxdigit(data[*pos]); (*pos)++)
 			;
-		/*  Collect value */
+		/* Collect value */
 		*val = 0;
 		for (; *pos < size; (*pos)++) {
 			value = hex_to_bin(data[*pos]);
@@ -448,7 +448,8 @@ static int jr3_download_firmware(struct comedi_device *dev,
 	return 0;
 }
 
-static struct jr3_pci_poll_delay jr3_pci_poll_subdevice(struct comedi_subdevice *s)
+static struct jr3_pci_poll_delay
+jr3_pci_poll_subdevice(struct comedi_subdevice *s)
 {
 	struct jr3_pci_subdev_private *spriv = s->private;
 	struct jr3_pci_poll_delay result = poll_delay_min_max(1000, 2000);
@@ -733,7 +734,7 @@ static int jr3_pci_auto_attach(struct comedi_device *dev,
 		}
 	}
 
-	/*  Reset DSP card */
+	/* Reset DSP card */
 	writel(0, &devpriv->iobase->channel[0].reset);
 
 	ret = comedi_load_firmware(dev, &comedi_to_pci_dev(dev)->dev,
@@ -763,7 +764,7 @@ static int jr3_pci_auto_attach(struct comedi_device *dev,
 				data.copyright[i]) >> 8);
 	}
 
-	/*  Start card timer */
+	/* Start card timer */
 	for (i = 0; i < dev->n_subdevices; i++) {
 		s = &dev->subdevices[i];
 		spriv = s->private;
-- 
2.7.4

  parent reply	other threads:[~2016-08-26 23:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 23:11 [PATCH v3 0/8] staging: comedi: " Anson Jacob
2016-08-26 23:12 ` [PATCH v3 1/8] staging: comedi: cb_pcidas64.c: " Anson Jacob
2016-08-26 23:13 ` [PATCH v3 2/8] staging: comedi: cb_pcidas64: Fix commenting style Anson Jacob
2016-08-26 23:13 ` [PATCH v3 3/8] staging: comedi: jr3_pci.h: Fix checkpatch warning Anson Jacob
2016-08-26 23:13 ` [PATCH v3 4/8] staging: comedi: ni_atmio.c: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 5/8] staging: comedi: s626.h: " Anson Jacob
2016-08-26 23:14 ` Anson Jacob [this message]
2016-08-26 23:14 ` [PATCH v3 7/8] staging: comedi: ni_at_a2150: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 8/8] staging: comedi: cb_pcidas64: Fix checkpath warning Anson Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29206e5f4ad17a0eb874be7a9ff0f79f5da321e3.1472252558.git.ansonjacob.aj@gmail.com \
    --to=ansonjacob.aj@gmail.com \
    --cc=abbotti@mev.co.uk \
    --cc=andrey_utkin@fastmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®