]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: ircomm, use GFP_KERNEL in ircomm_open()
authorMathias Krause <minipli@googlemail.com>
Fri, 5 Apr 2013 11:02:07 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 16:09:18 +0000 (12:09 -0400)
commitf387f086a6d620da90a8445197cad5c47e0c3861
treef46081c64afd8c0ecbb25b995e62712eb8b33773
parentcb3cac61a116ae31fe70aa980fa0201fc1eeae2d
TTY: ircomm, use GFP_KERNEL in ircomm_open()

Hi Greg,

I'm unsure if you or Dave should take that one as it's for one a TTY
patch but also living under net/. So I'm uncertain and let you decide!

Thanks,
Mathias

-- >8 --
Subject: [PATCH] TTY: ircomm, use GFP_KERNEL in ircomm_open()

We're clearly running in non-atomic context as our only call site is
able to call wait_event_interruptible(). So we're safe to use GFP_KERNEL
here instead of GFP_ATOMIC.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_core.c