mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Shivnandan Kumar <shivnandan.k@samsung.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
	vidushi.koul@samsung.com, gaurav.k6@samsung.com,
	nitin.gupta@samsung.com, rajat.suri@samsung.com,
	p.shailesh@samsung.com, shiv.jnumca08@gmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] char:misc minor is overflowing
Date: Mon, 21 Dec 2015 13:43:33 -0800	[thread overview]
Message-ID: <20151221214333.GA3108@kroah.com> (raw)
In-Reply-To: <1448013934-8213-1-git-send-email-shivnandan.k@samsung.com>

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

  reply	other threads:[~2015-12-21 21:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20 10:05 Shivnandan Kumar
2015-12-21 21:43 ` Greg Kroah-Hartman [this message]
2015-12-09 12:51 Fwd: " Nitin Gupta
2015-12-09 13:35 ` One Thousand Gnomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151221214333.GA3108@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=gaurav.k6@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nitin.gupta@samsung.com \
    --cc=p.shailesh@samsung.com \
    --cc=rajat.suri@samsung.com \
    --cc=shiv.jnumca08@gmail.com \
    --cc=shivnandan.k@samsung.com \
    --cc=vidushi.koul@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome