From: Takashi Iwai <tiwai@suse.de>
To: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Cc: tiwai@suse.de, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, perex@perex.cz
Subject: Re: [PATCH v4] ALSA: core: Reject zero major number
Date: Wed, 25 Nov 2026 14:35:24 +0100 [thread overview]
Message-ID: <87zeux6nkz.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261125093538.4974-1-sreekuttan2156239@gmail.com>
On Wed, 25 Nov 2026 10:35:37 +0100,
Sreeraj S Kurup wrote:
>
> Reject a zero major number before calling register_chrdev(),
> as ALSA expects a fixed major number.
>
> Remove the redundant major variable and use snd_major
> directly with module_param_named().
>
> Keep a separate configured card limit for automatic
> module loading, as snd_ecards_limit may increase at
> runtime when cards are registered at higher indices.
>
> Update device number creation and character device
> registration and unregistration to use snd_major.
>
> Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Applied now. Thanks.
Takashi
next prev parent reply other threads:[~2026-11-25 13:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 7:30 [PATCH] ALSA: Fix dynamic major number assignment Sreeraj S Kurup
2026-11-25 7:41 ` Takashi Iwai
2026-11-25 8:24 ` Sreeraj S Kurup
2026-11-25 8:30 ` [PATCH v2] ALSA: core: Reject zero major number Sreeraj S Kurup
2026-11-25 8:38 ` sashiko-bot
2026-11-25 8:43 ` [PATCH v3] " Sreeraj S Kurup
2026-11-25 8:52 ` sashiko-bot
2026-11-25 9:35 ` [PATCH v4] " Sreeraj S Kurup
2026-11-25 13:35 ` Takashi Iwai [this message]
2026-11-26 6:21 ` Sreeraj S Kurup
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=87zeux6nkz.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=sreekuttan2156239@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.