lkml.org 
[lkml]   [2015]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-12-21 23:01    [W:0.037 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site