From: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, Vijendar.Mukunda@amd.com,
Basavaraj.Hiregoudar@amd.com, Sunil-kumar.Dommati@amd.com,
syed.sabakareem@amd.com, mario.limonciello@amd.com,
yung-chuan.liao@linux.intel.com,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
"open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..."
<linux-sound@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: amd: acp: Fix pointer assignments for snd_soc_acpi_mach structures
Date: Mon, 9 Jun 2025 17:59:24 +0530 [thread overview]
Message-ID: <cc92a3de-0d90-42eb-95a7-a9638eecfc65@amd.com> (raw)
In-Reply-To: <ea8fa344-0429-4dca-80a2-aa792128576d@sirena.org.uk>
On 6/9/25 17:46, Mark Brown wrote:
> On Mon, Jun 09, 2025 at 05:42:32PM +0530, Venkata Prasad Potturu wrote:
>> This patch modifies the assignment of machine structure pointers in the
>> acp_pci_probe function. Previously, the machine pointers were assigned
>> using the address-of operator (&), which caused incompatibility issues
>> in type assignments.
>>
>> Additionally, the declarations of the machine arrays in amd.h have been
>> updated to reflect that they are indeed arrays (`[]`). The code is
>> further cleaned up by declaring the codec structures in
>> amd-acpi-mach.c as static, reflecting their intended usage.
>>
>> error: symbol 'amp_rt1019' was not declared. Should it be static?
>> error: symbol 'amp_max' was not declared. Should it be static?
> It's fine this time but these staticisiations should have been a
> separate commit since there's no overlap.
Okay, Thanks Mark :).
I will take care next time onwards.
next prev parent reply other threads:[~2025-06-09 12:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 12:12 [PATCH] ASoC: amd: acp: Fix pointer assignments for snd_soc_acpi_mach structures Venkata Prasad Potturu
2025-06-09 12:16 ` Mark Brown
2025-06-09 12:29 ` Venkata Prasad Potturu [this message]
2025-06-09 15:39 ` Mark Brown
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=cc92a3de-0d90-42eb-95a7-a9638eecfc65@amd.com \
--to=venkataprasad.potturu@amd.com \
--cc=Basavaraj.Hiregoudar@amd.com \
--cc=Sunil-kumar.Dommati@amd.com \
--cc=Vijendar.Mukunda@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=perex@perex.cz \
--cc=syed.sabakareem@amd.com \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).