aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2022-05-23 18:50:52 +0300
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:30:11 +0200
commite74024b2eccbb784824a0f9feaeaaa3b47514b79 (patch)
tree8d01a02b64c700b64cf3396e9a2df668bb057019 /scripts/bpf_doc.py
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
tty: n_gsm: Debug output allocation must use GFP_ATOMIC
Dan Carpenter <[email protected]> reported the following Smatch warning: drivers/tty/n_gsm.c:720 gsm_data_kick() warn: sleeping in atomic context This is because gsm_control_message() is holding a spin lock so gsm_hex_dump_bytes() needs to use GFP_ATOMIC instead of GFP_KERNEL. Fixes: 925ea0fa5277 ("tty: n_gsm: Fix packet data hex dump output") Cc: stable <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions