summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-08-28 17:37:06 +0200
committerMichael S. Tsirkin <mst@redhat.com>2026-09-04 17:05:47 -0400
commit0606af150f071c8a9eff13177c2782592dfb1487 (patch)
tree122b5e88dd8a2121ae5323511481f2d34ebd63fc /scripts/Makefile.thinlto
parentf7345ec3c5cc9cb7840c0785f829b1c7ad557499 (diff)
downloadlinux-next-0606af150f071c8a9eff13177c2782592dfb1487.tar.gz
linux-next-0606af150f071c8a9eff13177c2782592dfb1487.zip
virtio_console: Fix alloc_buf(.gfp) usage
Commit fc220d6be3c7 ("virtio_console: refactor __send_to_port() buffer ownership") added a .gfp argument to alloc_buf(), but forgot to convert all allocation calls. The result is that any GFP_ATOMIC calls, such as those from: hvc_console_print() put_chars() alloc_buf(.gfp = GFP_ATOMIC) will trip the might_sleep_if() check when used from an atomic context. Fixes: fc220d6be3c7 ("virtio_console: refactor __send_to_port() buffer ownership") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Sungho Bae <baver.bae@lge.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260828153706.GR687043@noisy.programming.kicks-ass.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions