public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
From: Karsten Hohmeier <linux@hohmatik.de>
To: tiwai@suse.de
Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
	linux@hohmatik.de
Subject: Re: UBSAN: shift-out-of-bounds in sound/pci/ctxfi/cthw20k2.c:956:31
Date: Sat, 28 Mar 2026 20:24:17 +0100	[thread overview]
Message-ID: <20260328192417.17980-1-linux@hohmatik.de> (raw)
In-Reply-To: <87cy149n6k.wl-tiwai@suse.de>

Hello Takashi,

I applied your one-liner with the previous patch still in place.
The module loads and kernel boots without messages.
Since the one-liner seemed SPDIF related I also tested the optical in and out and it all works.

Idk if it is the hardware or just a quirky implementation, but the SPDIF-in is grouped together with the analog inputs and without enabling those AND turning up SPDIF-in in alsamixer I don't get anything.
But I think it has always been like this.

Thumbs up from me if you want to turn this into a proper patch again.

Regards

Karsten

  parent reply	other threads:[~2026-03-28 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260315155004.15633-1-linux@hohmatik.de>
2026-03-16  8:46 ` UBSAN: shift-out-of-bounds in sound/pci/ctxfi/cthw20k2.c:956:31 Takashi Iwai
2026-03-21 19:56   ` Karsten Hohmeier
2026-03-27  9:08     ` Takashi Iwai
2026-03-28 19:24   ` Karsten Hohmeier [this message]
2026-03-29  9:12     ` Takashi Iwai

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=20260328192417.17980-1-linux@hohmatik.de \
    --to=linux@hohmatik.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=tiwai@suse.de \
    /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