Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156089
b: refs/heads/master
c: f294526
h: refs/heads/master
i:
  156087: 2e973d7
v: v3
  • Loading branch information
Dan Carpenter authored and Rusty Russell committed Jul 30, 2009
1 parent 86f98d8 commit 6547cd0
Show file tree
Hide file tree
Showing 4 changed files with 10 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: ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1
refs/heads/master: f294526279cda8934b0313ebd02184a16ba888c9
7 changes: 5 additions & 2 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ S: Maintained
F: drivers/net/r8169.c

8250/16?50 (AND CLONE UARTS) SERIAL DRIVER
M: Alan Cox <alan@lxorguk.ukuu.org.uk>
L: linux-serial@vger.kernel.org
W: http://serial.sourceforge.net
S: Orphan
S: Odd Fixes
F: drivers/serial/8250*
F: include/linux/serial_8250.h

Expand Down Expand Up @@ -4996,7 +4997,9 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git
S: Maintained

TTY LAYER
S: Orphan
M: Alan Cox <alan@lxorguk.ukuu.org.uk>
S: Maintained
T: stgit http://zeniv.linux.org.uk/~alan/ttydev/
F: drivers/char/tty_*
F: drivers/serial/serial_core.c
F: include/linux/serial_core.h
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/lguest/lguest_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ static int add_eventfd(struct lguest *lg, unsigned long addr, int fd)
new->map[new->num].addr = addr;
new->map[new->num].event = eventfd_ctx_fdget(fd);
if (IS_ERR(new->map[new->num].event)) {
int err = PTR_ERR(new->map[new->num].event);
kfree(new);
return PTR_ERR(new->map[new->num].event);
return err;
}
new->num++;

Expand Down Expand Up @@ -83,7 +84,7 @@ static int attach_eventfd(struct lguest *lg, const unsigned long __user *input)
err = add_eventfd(lg, addr, fd);
mutex_unlock(&lguest_lock);

return 0;
return err;
}

/*L:050 Sending an interrupt is done by writing LHREQ_IRQ and an interrupt
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ int __kprobes register_kprobe(struct kprobe *p)
p->addr = addr;

preempt_disable();
if (!kernel_text_address((unsigned long) p->addr) ||
if (!__kernel_text_address((unsigned long) p->addr) ||
in_kprobes_functions((unsigned long) p->addr)) {
preempt_enable();
return -EINVAL;
Expand Down

0 comments on commit 6547cd0

Please sign in to comment.