From: Zachary Richey <zr.public@gmail.com>
To: gregkh@suse.de, fmhess@users.sourceforge.net
Cc: linux-kernel@vger.kernel.org, Zachary Richey <zr.public@gmail.com>
Subject: [PATCH] Staging: comedi: fix coding style issues in comedi_fops.c This patch fixes coding style issues reported by scripts/checkpatch.pl Signed-off-by: Zachary Richey <zr.public@gmail.com>
Date: Wed, 5 May 2010 22:39:47 -0400 [thread overview]
Message-ID: <1273113587-2809-1-git-send-email-zr.public@gmail.com> (raw)
---
drivers/staging/comedi/comedi_fops.c | 56 +++++++++++++++++-----------------
1 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
index aca9674..999cbb6 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -598,20 +598,20 @@ copyback:
static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn,
unsigned int *data, void *file);
/*
- * COMEDI_INSNLIST
- * synchronous instructions
- *
- * arg:
- * pointer to sync cmd structure
- *
- * reads:
- * sync cmd struct at arg
- * instruction list
- * data (for writes)
- *
- * writes:
- * data (for reads)
- */
+* COMEDI_INSNLIST
+* synchronous instructions
+*
+* arg:
+* pointer to sync cmd structure
+*
+* reads:
+* sync cmd struct at arg
+* instruction list
+* data (for writes)
+*
+* writes:
+* data (for reads)
+*/
/* arbitrary limits */
#define MAX_SAMPLES 256
static int do_insnlist_ioctl(struct comedi_device *dev, void *arg, void *file)
@@ -736,7 +736,7 @@ static int check_insn_config_length(struct comedi_insn *insn,
/* by default we allow the insn since we don't have checks for
* all possible cases yet */
default:
- printk("comedi: no check for data length of config insn id "
+ printk(KERN_DEBUG "comedi: no check for data length of config insn id "
"%i is implemented.\n"
" Add a check to %s in %s.\n"
" Assuming n=%i is correct.\n", data[0], __func__,
@@ -894,19 +894,19 @@ out:
}
/*
- * COMEDI_INSN
- * synchronous instructions
- *
- * arg:
- * pointer to insn
- *
- * reads:
- * struct comedi_insn struct at arg
- * data (for writes)
- *
- * writes:
- * data (for reads)
- */
+* COMEDI_INSN
+* synchronous instructions
+*
+* arg:
+* pointer to insn
+*
+* reads:
+* struct comedi_insn struct at arg
+* data (for writes)
+*
+* writes:
+* data (for reads)
+*/
static int do_insn_ioctl(struct comedi_device *dev, void *arg, void *file)
{
struct comedi_insn insn;
--
1.6.3.3
next reply other threads:[~2010-05-06 2:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 2:39 Zachary Richey [this message]
2010-05-06 6:22 ` [PATCH] Staging: comedi: fix coding style issues in comedi_fops.c This patch fixes coding style issues reported by scripts/checkpatch.pl Signed-off-by: Zachary Richey <zr.public@gmail.com> Greg KH
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=1273113587-2809-1-git-send-email-zr.public@gmail.com \
--to=zr.public@gmail.com \
--cc=fmhess@users.sourceforge.net \
--cc=gregkh@suse.de \
--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