diff options
author | Maurice Dawson <mauricedawson2699@googlemail.com> | 2010-03-19 10:20:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:35:31 -0400 |
commit | cf8d3af5aed0d7bc40e8966b45aeced7c7bf1bef (patch) | |
tree | 7a8bcb170e717462fc71f4426b46c346ce95f4c8 /drivers | |
parent | 242467bd058f09ec05985bb09201a9cd0b1d89e5 (diff) |
Staging: comedi: fix KERN_facility level coding style issue in adl_pci9118.c
This is a patch to the adl_pci9118.c file that fixes WARNING: printk() should include KERN_facility level found by the checkpatch.pl tool
Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/adl_pci9118.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 4f9fd7dd0cf..2205113ee43 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c | |||
@@ -750,9 +750,8 @@ static void interrupt_pci9118_ai_dma(struct comedi_device *dev, | |||
750 | comedi_event(dev, s); | 750 | comedi_event(dev, s); |
751 | return; | 751 | return; |
752 | } | 752 | } |
753 | |||
754 | if (int_adstat & devpriv->ai_maskerr) | 753 | if (int_adstat & devpriv->ai_maskerr) |
755 | /* if (int_adstat & 0x106) */ | 754 | /* if (int_adstat & 0x106) */ |
756 | if (pci9118_decode_error_status(dev, s, int_adstat)) | 755 | if (pci9118_decode_error_status(dev, s, int_adstat)) |
757 | return; | 756 | return; |
758 | 757 | ||
@@ -2215,10 +2214,10 @@ static int pci9118_attach(struct comedi_device *dev, | |||
2215 | 2214 | ||
2216 | if (!pcidev) { | 2215 | if (!pcidev) { |
2217 | if (opt_bus || opt_slot) { | 2216 | if (opt_bus || opt_slot) { |
2218 | printk(" - Card at b:s %d:%d %s\n", | 2217 | printk(KERN_ERR " - Card at b:s %d:%d %s\n", |
2219 | opt_bus, opt_slot, errstr); | 2218 | opt_bus, opt_slot, errstr); |
2220 | } else { | 2219 | } else { |
2221 | printk(" - Card %s\n", errstr); | 2220 | printk(KERN_ERR " - Card %s\n", errstr); |
2222 | } | 2221 | } |
2223 | return -EIO; | 2222 | return -EIO; |
2224 | } | 2223 | } |
@@ -2234,8 +2233,8 @@ static int pci9118_attach(struct comedi_device *dev, | |||
2234 | iobase_a = pci_resource_start(pcidev, 0); | 2233 | iobase_a = pci_resource_start(pcidev, 0); |
2235 | iobase_9 = pci_resource_start(pcidev, 2); | 2234 | iobase_9 = pci_resource_start(pcidev, 2); |
2236 | 2235 | ||
2237 | printk(", b:s:f=%d:%d:%d, io=0x%4lx, 0x%4lx", pci_bus, pci_slot, | 2236 | printk(KERN_ERR ", b:s:f=%d:%d:%d, io=0x%4lx, 0x%4lx", pci_bus, |
2238 | pci_func, iobase_9, iobase_a); | 2237 | pci_slot, pci_func, iobase_9, iobase_a); |
2239 | 2238 | ||
2240 | dev->iobase = iobase_9; | 2239 | dev->iobase = iobase_9; |
2241 | dev->board_name = this_board->name; | 2240 | dev->board_name = this_board->name; |