mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch v1 0/1] staging: gpib: agilent_82357a uses completion
@ 2025-04-08 22:56 Michael Rubin
  2025-04-08 22:56 ` [Patch v1 1/1] " Michael Rubin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rubin @ 2025-04-08 22:56 UTC (permalink / raw)
  To: gregkh, dpenkler; +Cc: linux-staging, linux-kernel, Michael Rubin

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

* Patch 1: use the completion instead of a semaphore

Michael Rubin (1):
  staging: gpib: agilent_82357a uses completion

 drivers/staging/gpib/agilent_82357a/agilent_82357a.c | 12 ++++++------
 drivers/staging/gpib/agilent_82357a/agilent_82357a.h |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 22:56 [Patch v1 0/1] staging: gpib: agilent_82357a uses completion Michael Rubin
2025-04-08 22:56 ` [Patch v1 1/1] " Michael Rubin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®