linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about dynamic minor number of misc device
@ 2020-01-20  8:33 Zhenzhong Duan
  2020-01-20 10:03 ` Arnd Bergmann
  0 siblings, 1 reply; 9+ messages in thread
From: Zhenzhong Duan @ 2020-01-20  8:33 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, linux-kernel

Hi Maintainers,

I see there are 64 free slots(0-63) used for misc devices with dynamic
minor number. But PSMOUSE_MINOR(1) overlaps with that dynamic range.

So if the dynamic minor number exhaust, psaux driver will fail with
"could not register psaux device, error: -16", is this expected?
Should we preserve a slot for psaux and serio_raw which use static
minor number PSMOUSE_MINOR?

Thanks
Zhenzhong

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

end of thread, other threads:[~2020-01-21 18:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  8:33 Question about dynamic minor number of misc device Zhenzhong Duan
2020-01-20 10:03 ` Arnd Bergmann
2020-01-20 10:25   ` Zhenzhong Duan
2020-01-20 10:59     ` Arnd Bergmann
2020-01-20 22:13       ` Theodore Y. Ts'o
2020-01-21  7:56         ` Arnd Bergmann
2020-01-21 16:31           ` Theodore Y. Ts'o
2020-01-21 17:54             ` Sam Hartman
2020-01-21 15:42         ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).