]> www.infradead.org Git - linux.git/commit
scsi: aha152x: Use DECLARE_COMPLETION_ONSTACK for non-constant completion
authorZhongqiu Han <quic_zhonhan@quicinc.com>
Fri, 5 Jul 2024 10:36:14 +0000 (18:36 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jul 2024 02:51:44 +0000 (22:51 -0400)
commit23cef42d17413d099f44ea42b622fbf23b04646f
tree6228765f20c447218f0903b250cd48e7705095f6
parent6ca9fede7c73b3c83f4cc8ecb3c29e1d501107c6
scsi: aha152x: Use DECLARE_COMPLETION_ONSTACK for non-constant completion

The _ONSTACK variant should be used for on-stack completion, otherwise it
will break lockdep. See also commit 6e9a4738c9fa ("[PATCH] completions:
lockdep annotate on stack completions").

Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Link: https://lore.kernel.org/r/20240705103614.3650637-1-quic_zhonhan@quicinc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aha152x.c