All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: broonie@kernel.org
Cc: tiwai@suse.com, perex@perex.cz,
	amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org,
	Cezary Rojewski <cezary.rojewski@intel.com>
Subject: [PATCH 0/2] ASoC: Intel: avs: Fixes for avs_pci_probe()
Date: Tue, 29 Jul 2025 13:42:27 +0200	[thread overview]
Message-ID: <20250729114229.309472-1-cezary.rojewski@intel.com> (raw)

Two small changes that aim to improve code quality around error-path
area for the avs_pci_probe() function.

1) The synchronization-change is here to make sure both happy and error
paths are streamlines, no functional changes there.
2) The fix addresses null-ptr-deref and similar problems is
pcim_request_all_regions() fails.

Cezary Rojewski (2):
  ASoC: Intel: avs: Synchronize happy and error paths in PCI probe
  ASoC: Intel: avs: Fix uninitialized pointer error in probe()

 sound/soc/intel/avs/core.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

-- 
2.25.1


             reply	other threads:[~2025-07-29 11:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 11:42 Cezary Rojewski [this message]
2025-07-29 11:42 ` [PATCH 1/2] ASoC: Intel: avs: Synchronize happy and error paths in PCI probe Cezary Rojewski
2025-07-29 11:47   ` Mark Brown
2025-07-29 12:49     ` Cezary Rojewski
2025-07-29 13:32       ` Mark Brown
2025-07-30 12:32         ` Cezary Rojewski
2025-07-29 11:42 ` [PATCH 2/2] ASoC: Intel: avs: Fix uninitialized pointer error in probe() Cezary Rojewski

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=20250729114229.309472-1-cezary.rojewski@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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.