Skip to content

staging: speakup: safely unregister ldisc

Okash Khawaja lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: speakup: add functions to register and unregister ldiscdrivers/staging/speakup/spk_priv.h drivers/staging/speakup/spk_ttyio.c+14 -00 replies
2/2staging: speakup: safely register and unregister ldiscdrivers/staging/speakup/main.c drivers/staging/speakup/spk_ttyio.c+4 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] staging: speakup: safely unregister ldisc

Hi,

These patches make sure that N_SPEAKUP is correctly unregistered when all speakup related modules are unloaded, making sure the refcount correctly represents the number of users.

Patch 1: simply adds functions to register and unregister ldisc, without
changing existing behaviour
Patch 2: uses those functions to register and unregister ldisc correctly

Thanks,
Okash