Messages in this thread | | | Date | Mon, 21 Dec 2015 13:43:33 -0800 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] char:misc minor is overflowing |
| |
On Fri, Nov 20, 2015 at 03:35:34PM +0530, Shivnandan Kumar wrote: > When a driver register as a misc driver and > it tries to allocate minor number dynamically. > Then there is a chance of minor number overflow. > The problem is that 64(DYNAMIC_MINORS) is not enough > for dynamic minor number and if kernel defines 0-63 > for dynamic minor number, it should be reserved.
What system do you have that we have more than 63 dynamic minors being asked for? We should turn some of them into "real" minors if you rely on too many of these.
thanks,
greg k-h
| |