mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] raw: two issues with the handling of the max minor number
Date: Tue, 04 Feb 2014 23:22:42 +0100	[thread overview]
Message-ID: <1391552562.13156.14.camel@x220> (raw)

I noticed some issues with the way the raw driver sets its maximum minor
number and how that driver tests against that maximum. These two small
patches try to correct these issues.

The Kconfig change was tested with make menuconfig only. The change to
the actual code was compile tested only!

Paul Bolle (2):
  raw: test against runtime value of max_raw_minors
  raw: set range for MAX_RAW_DEVS

 drivers/char/Kconfig | 1 +
 drivers/char/raw.c   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.5.3


                 reply	other threads:[~2014-02-04 22:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1391552562.13156.14.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®