Re: [PATCH v2] ALSA: hda/realtek: add missing NULL check for codec->bus->pci
Takashi Iwai <[email protected]>
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Jul 2026 03:53:02 +0200, songxiebing wrote: > > From: Bob Song <[email protected]> > > In alc269_probe(), codec->bus->pci is dereferenced without a NULL check > for the ALC236 vendor ID case. Add the missing check, consistent with > the existing pattern used elsewhere in the same function. > > Signed-off-by: Bob Song <[email protected]> > --- > v2: > - Separate processing of return values from reading COEF and > null pointer detection for device. Applied to for-next branch now. Thanks. Takashi