]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] R3964: fix GFP_KERNEL allocations in timer function
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 25 Jun 2006 12:48:41 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:17 +0000 (10:01 -0700)
commit859f82b5a0516ffb2eba3deae9fbe172f8377c39
tree4da3f15df037bc9ff7b11c42c17b9bf523a1a930
parentc73f19be2d765f1e7ca638a63f6d6b405d42702d
[PATCH] R3964: fix GFP_KERNEL allocations in timer function

In the error case, add_msg() gets called from timer functions, so should
be using GFP_ATOMIC instead of GFP_KERNEL.

Ref: http://bugzilla.kernel.org/show_bug.cgi?id=6659.  Thanks to Christian
Werner <chw@ch-werner.de> for reporting, and for the initial fix.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/n_r3964.c