Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94079
b: refs/heads/master
c: 074a0db
h: refs/heads/master
i:
  94077: 1133689
  94075: a0033e1
  94071: 24fc26b
  94063: c57a7f2
  94047: 9f690a8
  94015: febada3
  93951: 3d9b405
v: v3
  • Loading branch information
WANG Cong authored and Linus Torvalds committed Apr 28, 2008
1 parent e22a85f commit 1cfee4f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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: 1605ec044300d0fd5d27fd0b6879ee14b104aebd
refs/heads/master: 074a0db8e17ae271736148809c5f9d47dec2d993
6 changes: 3 additions & 3 deletions trunk/arch/um/drivers/net_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static void uml_dev_close(struct work_struct *work)
dev_close(lp->dev);
}

irqreturn_t uml_net_interrupt(int irq, void *dev_id)
static irqreturn_t uml_net_interrupt(int irq, void *dev_id)
{
struct net_device *dev = dev_id;
struct uml_net_private *lp = dev->priv;
Expand Down Expand Up @@ -296,7 +296,7 @@ static struct ethtool_ops uml_net_ethtool_ops = {
.get_link = ethtool_op_get_link,
};

void uml_net_user_timer_expire(unsigned long _conn)
static void uml_net_user_timer_expire(unsigned long _conn)
{
#ifdef undef
struct connection *conn = (struct connection *)_conn;
Expand Down Expand Up @@ -786,7 +786,7 @@ static int uml_inetaddr_event(struct notifier_block *this, unsigned long event,
}

/* uml_net_init shouldn't be called twice on two CPUs at the same time */
struct notifier_block uml_inetaddr_notifier = {
static struct notifier_block uml_inetaddr_notifier = {
.notifier_call = uml_inetaddr_event,
};

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/um/drivers/slip_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct slip_init {
char *gate_addr;
};

void slip_init(struct net_device *dev, void *data)
static void slip_init(struct net_device *dev, void *data)
{
struct uml_net_private *private;
struct slip_data *spri;
Expand Down Expand Up @@ -57,7 +57,7 @@ static int slip_write(int fd, struct sk_buff *skb, struct uml_net_private *lp)
(struct slip_data *) &lp->user);
}

const struct net_kern_info slip_kern_info = {
static const struct net_kern_info slip_kern_info = {
.init = slip_init,
.protocol = slip_protocol,
.read = slip_read,
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/um/drivers/stdio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

static struct tty_driver *console_driver;

void stdio_announce(char *dev_name, int dev)
static void stdio_announce(char *dev_name, int dev)
{
printk(KERN_INFO "Virtual console %d assigned device '%s'\n", dev,
dev_name);
Expand Down Expand Up @@ -158,7 +158,7 @@ static struct console stdiocons = {
.index = -1,
};

int stdio_init(void)
static int stdio_init(void)
{
char *new_title;

Expand Down

0 comments on commit 1cfee4f

Please sign in to comment.