]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: agilent_82357a uses completion
authorMichael Rubin <matchstick@neverthere.org>
Tue, 8 Apr 2025 22:56:28 +0000 (22:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:38:12 +0000 (16:38 +0200)
commit94e71cd4f08a606131970aff82c023690c608c64
tree9374dab596afcc3e2b9032c2762cee8538bbf2f3
parent72ba314072a66774d5a90141ec99128c6bab033a
staging: gpib: agilent_82357a uses completion

agilent_82357a_send_bulk_msg is a oneshot event where a semphore is meant for
synchronizing over counting events.

Recommendation is to use a completion instead.

Reported by checkpatch.

WARNING: consider using a completion

Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Link: https://lore.kernel.org/r/20250408225628.187316-2-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/agilent_82357a/agilent_82357a.c
drivers/staging/gpib/agilent_82357a/agilent_82357a.h