Re: PATCH: ni_labpc_cs.c 2

From: Jakob Penzien
Date: Wed Mar 03 2010 - 02:21:52 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- From b8eff3ab872920c733981fa475220c0b6169d058 Mon Sep 17 00:00:00 2001
From: Jakob Penzien <jakob@bloodmoon.(none)>
Date: Wed, 3 Mar 2010 00:31:24 -0500
Subject: [PATCH 2/2] Staging: Comedi: fix 80 character and KERN
coding style issue in ni_labpc_cs.c
This is a patch to the ni_labpc_cs.c file that fixes up the 80
character and KERN
warning found by the checkpoint.pl tool. Changed the spaceing
between KERN and ".
Signed-off-by: Jakob Penzien <Supermine290@xxxxxxxxx>

- ---
drivers/staging/comedi/drivers/ni_labpc_cs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c
b/drivers/staging/comedi/drivers/ni_labpc_cs.c
index 0b963bb..07d7bf9 100644
- --- a/drivers/staging/comedi/drivers/ni_labpc_cs.c
+++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c
@@ -1,7 +1,8 @@
/*
comedi/drivers/ni_labpc_cs.c
Driver for National Instruments daqcard-1200 boards
- - Copyright (C) 2001, 2002, 2003 Frank Mori Hess
<fmhess@xxxxxxxxxxxxxxxxxxxxx>
+ Copyright (C) 2001, 2002, 2003 Frank Mori Hess
+ <fmhess@xxxxxxxxxxxxxxxxxxxxx>

PCMCIA crap is adapted from dummy_cs.c 1.31 2001/08/24 12:13:13
from the pcmcia package.
@@ -146,7 +147,7 @@ static int labpc_attach(struct comedi_device
*dev, struct comedi_devconfig *it)
irq = link->irq.AssignedIRQ;
break;
default:
- - printk("bug! couldn't determine board type\n");
+ printk(KERN_ERR "bug! couldn't determine board type\n");
return -EINVAL;
break;
}
- --
1.6.3.3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuODfoACgkQRHWk8kRA7BAM1QCeKMICZDu19e8DQfyS4UsSRn62
+jUAoIJ91y4SRk+S7+eXALvP/2hB1Vm0
=OYrU
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/