From: Greg KH <gregkh@linuxfoundation.org>
To: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Cc: git@amd.com, michal.simek@amd.com, jacmet@sunsite.dk,
jirislaby@kernel.org, linux-serial@vger.kernel.org,
linux-kernel@vger.kernel.org, radhey.shyam.pandey@amd.com,
srinivas.goud@amd.com, shubhrajyoti.datta@amd.com,
manion05gk@gmail.com
Subject: Re: [PATCH] serial: uartlite: Use dynamic allocation for major number
Date: Thu, 9 Nov 2023 14:20:25 +0100 [thread overview]
Message-ID: <2023110915-trusting-pointer-40b0@gregkh> (raw)
In-Reply-To: <20231109123640.1740310-1-manikanta.guntupalli@amd.com>
On Thu, Nov 09, 2023 at 06:06:40PM +0530, Manikanta Guntupalli wrote:
> Device number 204 has a range of minors on major number.
> uart_register_driver is failing due to lack of minor numbers
> when more number of uart ports used.
So you need more than the 4 allocated to you?
> So, use dynamic allocation
> for major number to avoid minor number limitation on 204 major
> number.
>
> https://docs.kernel.org/arch/arm/sa1100/serial_uart.html
What does this break by doing this?
Also, you forgot to update the documentation :(
And how was this tested? What about older systems with static device
nodes, are you sure none are out there for this old hardware anymore?
thanks,
greg k-h
next prev parent reply other threads:[~2023-11-09 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 12:36 [PATCH] serial: uartlite: Use dynamic allocation for major number Manikanta Guntupalli
2023-11-09 13:20 ` Greg KH [this message]
2023-11-10 9:28 ` Guntupalli, Manikanta
2023-11-10 10:55 ` Greg KH
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=2023110915-trusting-pointer-40b0@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=git@amd.com \
--cc=jacmet@sunsite.dk \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=manikanta.guntupalli@amd.com \
--cc=manion05gk@gmail.com \
--cc=michal.simek@amd.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=shubhrajyoti.datta@amd.com \
--cc=srinivas.goud@amd.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).