summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-06-02 07:12:51 +0000
committerPeter Zijlstra <peterz@infradead.org>2026-06-03 11:38:47 +0200
commit08d4a7837f008ea6031c1292aa839ad881d7b3f1 (patch)
tree251e004feb5b2975eb79230b901b6477586fea5d /rust/kernel/alloc/allocator
parent813e5598e5b551a1fb82b516428ce2f135921122 (diff)
genirq: Move NULL check into irqdesc_lock guard unlock expression
irqdesc_lock uses __DEFINE_UNLOCK_GUARD() directly with a custom constructor that can set .lock to NULL. In preparation for removing the NULL check from __DEFINE_UNLOCK_GUARD(), move the NULL check into the irqdesc_lock unlock expression, making the NULL handling explicit at the call site. No functional change. Signed-off-by: Dmitry Ilvokhin <d@ilvokhin.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/ab457810653e4356e29b2d74ba616478bd9328ad.1780064327.git.d@ilvokhin.com
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions