[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFH1YnOad7aVjoX_PR6mLqT=pXQjpBW9ZDHkKYzNkeistFkA4A@mail.gmail.com>
Date: Mon, 20 Jan 2020 16:33:42 +0800
From: Zhenzhong Duan <zhenzhong.duan@...il.com>
To: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Question about dynamic minor number of misc device
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
Powered by blists - more mailing lists