Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134655
b: refs/heads/master
c: 0117cfa
h: refs/heads/master
i:
  134653: ffcb1e1
  134651: 47ad112
  134647: 97629a9
  134639: 7ee58b9
  134623: 9616619
  134591: b95124d
  134527: 145b96b
  134399: feca902
  134143: 2deca3f
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 23, 2009
1 parent aa1e9c9 commit a27a407
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 01af4a0e3cce86212f6bf54ebe8f84d7219c862a
refs/heads/master: 0117cfabe3ba9b430c6ff6eecd4fdc569977f24f
7 changes: 4 additions & 3 deletions trunk/net/802/psnap.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,16 @@ static int snap_request(struct datalink_proto *dl,
EXPORT_SYMBOL(register_snap_client);
EXPORT_SYMBOL(unregister_snap_client);

static char snap_err_msg[] __initdata =
static const char snap_err_msg[] __initconst =
KERN_CRIT "SNAP - unable to register with 802.2\n";

static int __init snap_init(void)
{
snap_sap = llc_sap_open(0xAA, snap_rcv);

if (!snap_sap)
if (!snap_sap) {
printk(snap_err_msg);
return -EBUSY;
}

return 0;
}
Expand Down

0 comments on commit a27a407

Please sign in to comment.