Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122400
b: refs/heads/master
c: 25f1304
h: refs/heads/master
v: v3
  • Loading branch information
Tilman Schmidt authored and David S. Miller committed Nov 30, 2008
1 parent 23c11ed commit 08145af
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 18 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: af4218c3a699542adc9b76c8972828a726e7b0dc
refs/heads/master: 25f13048bce61f33f6a102e0bf377fd3922ed364
3 changes: 1 addition & 2 deletions trunk/drivers/isdn/gigaset/bas-gigaset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2507,8 +2507,7 @@ static int __init bas_gigaset_init(void)
goto error;
}

info(DRIVER_AUTHOR);
info(DRIVER_DESC);
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
return 0;

error:
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/isdn/gigaset/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ static struct bc_state *gigaset_initbcs(struct bc_state *bcs,
} else if ((bcs->skb = dev_alloc_skb(SBUFSIZE + HW_HDR_LEN)) != NULL)
skb_reserve(bcs->skb, HW_HDR_LEN);
else {
warn("could not allocate skb");
err("could not allocate skb");
bcs->inputstate |= INS_skip_frame;
}

Expand Down Expand Up @@ -1120,8 +1120,7 @@ static int __init gigaset_init_module(void)
if (gigaset_debuglevel == 1)
gigaset_debuglevel = DEBUG_DEFAULT;

info(DRIVER_AUTHOR);
info(DRIVER_DESC);
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
return 0;
}

Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/isdn/gigaset/gigaset.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,9 @@ enum debuglevel {
* removed rather than fixed anyway.
*/
#undef err
#undef info
#undef warn

#define err(format, arg...) printk(KERN_ERR KBUILD_MODNAME ": " \
format "\n" , ## arg)
#define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \
format "\n" , ## arg)
#define warn(format, arg...) printk(KERN_WARNING KBUILD_MODNAME ": " \
format "\n" , ## arg)

#ifdef CONFIG_GIGASET_DEBUG

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/isdn/gigaset/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,15 +701,15 @@ void gigaset_if_initdriver(struct gigaset_driver *drv, const char *procname,

ret = tty_register_driver(tty);
if (ret < 0) {
warn("failed to register tty driver (error %d)", ret);
err("failed to register tty driver (error %d)", ret);
goto error;
}
gig_dbg(DEBUG_IF, "tty driver initialized");
drv->have_tty = 1;
return;

enomem:
warn("could not allocate tty structures");
err("could not allocate tty structures");
error:
if (drv->tty)
put_tty_driver(drv->tty);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/isdn/gigaset/ser-gigaset.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,7 @@ gigaset_tty_open(struct tty_struct *tty)

gig_dbg(DEBUG_INIT, "Starting HLL for Gigaset M101");

info(DRIVER_AUTHOR);
info(DRIVER_DESC);
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");

if (!driver) {
err("%s: no driver structure", __func__);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/isdn/gigaset/usb-gigaset.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,7 @@ static int __init usb_gigaset_init(void)
goto error;
}

info(DRIVER_AUTHOR);
info(DRIVER_DESC);
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
return 0;

error:
Expand Down

0 comments on commit 08145af

Please sign in to comment.