Skip to content

Instantly share code, notes, and snippets.

@mattbillenstein
Created June 28, 2011 20:57
Show Gist options
  • Save mattbillenstein/1052184 to your computer and use it in GitHub Desktop.
Save mattbillenstein/1052184 to your computer and use it in GitHub Desktop.
First Linux kernel patch
`From 2d32f746223bfd89994edc0d16716e90e7836e74 Mon Sep 17 00:00:00 2001
From: Matt Billenstein <[email protected]>
Date: Wed, 1 Jun 2011 09:17:06 +0000
Subject: staging: comedi (adv_pci1723): coding style, fix whitespace before
quoted newline
Small fix in adv_pci1723.c for a "whitespace before quoted newline" warning
from checkpatch.pl
Signed-off-by: Matt Billenstein <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/staging/comedi/drivers/adv_pci1723.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adv_pci1723.c b/drivers/staging/comedi/drivers/adv_pci1723.c
index 1b56821..29455a8 100644
--- a/drivers/staging/comedi/drivers/adv_pci1723.c
+++ b/drivers/staging/comedi/drivers/adv_pci1723.c
@@ -234,7 +234,7 @@ static int pci1723_insn_read_ao(struct comedi_device *dev,
int n, chan;
chan = CR_CHAN(insn->chanspec);
- DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() ----- \n");
+ DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() -----\n");
for (n = 0; n < insn->n; n++)
data[n] = devpriv->ao_data[chan];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment