Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324724
b: refs/heads/master
c: 736f5d0
h: refs/heads/master
v: v3
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent b19cb3e commit 7eb82f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 538a697ac8ca86b4507aaf81cfed5359aa11d606
refs/heads/master: 736f5d0a0980a6bf71e5c0d30c2d35225fb3f583
10 changes: 5 additions & 5 deletions trunk/drivers/staging/vme/devices/vme_pio2_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* option) any later version.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
Expand Down Expand Up @@ -163,15 +165,13 @@ static int __init pio2_init(void)
int retval = 0;

if (bus_num == 0) {
printk(KERN_ERR "%s: No cards, skipping registration\n",
driver_name);
pr_err("No cards, skipping registration\n");
goto err_nocard;
}

if (bus_num > PIO2_CARDS_MAX) {
printk(KERN_ERR
"%s: Driver only able to handle %d PIO2 Cards\n",
driver_name, PIO2_CARDS_MAX);
pr_err("Driver only able to handle %d PIO2 Cards\n",
PIO2_CARDS_MAX);
bus_num = PIO2_CARDS_MAX;
}

Expand Down

0 comments on commit 7eb82f8

Please sign in to comment.