From: Takashi Iwai <tiwai@suse.de>
To: Geraldo Nascimento <geraldogabriel@gmail.com>
Cc: William Overton <willovertonuk@gmail.com>,
ALSA-devel <alsa-devel@alsa-project.org>,
Olivia Mackintosh <livvy@base.nu>
Subject: Re: [PATCH v2] ALSA: usb-audio: Reorder snd_djm_devices[] entries
Date: Mon, 06 Dec 2021 10:07:30 +0100 [thread overview]
Message-ID: <s5hpmqaqey5.wl-tiwai@suse.de> (raw)
In-Reply-To: <Yau46FDzoql0SNnW@geday>
On Sat, 04 Dec 2021 19:52:24 +0100,
Geraldo Nascimento wrote:
>
> Olivia Mackintosh has posted to alsa-devel reporting that
> there's a potential bug that could break mixer quirks for Pioneer
> devices introduced by 6d27788160362a7ee6c0d317636fe4b1ddbe59a7
> "ALSA: usb-audio: Add support for the Pioneer DJM 750MK2
> Mixer/Soundcard".
>
> This happened because the DJM 750 MK2 was added last to the Pioneer DJM
> device table index and defined as 0x4 but was added to snd_djm_devices[]
> just after the DJM 750 (MK1) entry instead of last, after the DJM 900
> NXS2. This escaped review.
>
> To prevent that from ever happening again, Takashi Iwai suggested to use
> C99 array designators in snd_djm_devices[] instead of simply reordering
> the entries.
>
> Reported-by: Olivia Mackintosh <livvy@base.nu>
> Suggested-by: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
>
> ---
>
> V1 -> V2: added C99 array designators to prevent the order of entries
> ever being an issue again.
Thanks, applied now with Fixes tag.
Takashi
prev parent reply other threads:[~2021-12-06 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-04 18:52 [PATCH v2] ALSA: usb-audio: Reorder snd_djm_devices[] entries Geraldo Nascimento
2021-12-06 9:07 ` Takashi Iwai [this message]
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=s5hpmqaqey5.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=geraldogabriel@gmail.com \
--cc=livvy@base.nu \
--cc=willovertonuk@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.