linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cgxu519 <cgxu519@gmx.com>
To: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Wu Hao <hao.wu@intel.com>, Alan Tull <atull@kernel.org>,
	linux-fpga@vger.kernel.org
Subject: Re: [PATCH] fpga: expand minor range when registering chrdev region
Date: Tue, 12 Feb 2019 22:32:14 +0800	[thread overview]
Message-ID: <3a1c6ac6-ecfe-f21c-ef4c-0af8ab8536eb@gmx.com> (raw)
In-Reply-To: <CAAtXAHck6a2LbWGb9Fu7+HP9Uz8oAhTOs9636AqD7P9SOSGi3A@mail.gmail.com>

On 2/12/19 6:54 PM, Moritz Fischer wrote:
> Hi Chengguang,
>
> On Mon, Feb 11, 2019 at 10:25 PM Chengguang Xu <cgxu519@gmx.com> wrote:
>> Actually, total amount of available minor number
>> for a single major is MINORMARK + 1. So expand
> Typo. MINORMASK?

Yeah, it's a typo, should be MINORMASK.

>
>> minor range when registering chrdev region
> How does that manifest?

The output of /proc/devices only shows major so
I'm not sure is there an easy way to do that except
hacking the code to show minor range with major.

Thanks

  reply	other threads:[~2019-02-12 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-12  6:24 [PATCH] fpga: expand minor range when registering chrdev region Chengguang Xu
2019-02-12 10:54 ` Moritz Fischer
2019-02-12 14:32   ` cgxu519 [this message]
2019-02-21  5:17     ` Wu Hao

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=3a1c6ac6-ecfe-f21c-ef4c-0af8ab8536eb@gmx.com \
    --to=cgxu519@gmx.com \
    --cc=atull@kernel.org \
    --cc=hao.wu@intel.com \
    --cc=linux-fpga@vger.kernel.org \
    --cc=moritz.fischer@ettus.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;
as well as URLs for NNTP newsgroup(s).