linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the sound-asoc tree
Date: Thu, 7 Jul 2022 17:12:31 +0530	[thread overview]
Message-ID: <9f4d8898-eb5f-aa91-57d3-66a78e9c4316@amd.com> (raw)
In-Reply-To: <872891aa-11ea-ed60-5090-940e8e7e4458@amd.com>

On 7/7/22 4:38 PM, Mukunda,Vijendar wrote:
> On 7/7/22 3:34 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the sound-asoc tree, today's linux-next build (powerpc
>> allyesconfig) failed like this:
>>
>> sound/soc/amd/acp-es8336.c: In function 'st_es8336_late_probe':
>> sound/soc/amd/acp-es8336.c:204:33: error: invalid use of undefined type 'struct acpi_device'
>>   204 |                 put_device(&adev->dev);
>>       |                                 ^~
>> sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
>>    34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
>>    38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
>> sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
>>    58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
>>       |                                    ^~~~~~~~~~~~~~~~~~~
>>       |                                    device_match_acpi_dev
>> sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
>> sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
>>    64 |         if (adev && adev->status.present && adev->status.functional) {
>>       |                         ^~
>> sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
>>    64 |         if (adev && adev->status.present && adev->status.functional) {
>>       |                                                 ^~
>> sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
>>    80 |                 status = acpi_extract_package(myobj,
>>       |                          ^~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c: At top level:
>> sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
>>    95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
>>    44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
>>   109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>>       |                           ^~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
>>    51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~
>>
>> Caused by commit
>>
>>   f94fa8405801 ("ASoC: amd: enable machine driver build for Jadeite platform")
>>
>> I have reverted that commit for today.
>>
> 
> Hi Stephen,
> 
> We have provided fix for build error and pushed patch for upstream review.
> 
> Patch title: " ASoC: amd: fix ACPI dependency compile errors and warnings"
> patch link:
> https://lore.kernel.org/lkml/20220706205515.2485601-1-Vijendar.Mukunda@amd.com/
> 
> We will resend the fix for upstream review.
> 
> Thanks,
> Vijendar

Hi Mark,


If we have to submit the patch freshly then earlier patch should be
reverted in for-next branch.
Should we resend the fix again or else should we submit patch freshly?

Thanks,
Vijendar



  reply	other threads:[~2022-07-07 11:40 UTC|newest]

Thread overview: 243+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 10:04 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
2022-07-07 11:08 ` Mukunda,Vijendar
2022-07-07 11:42   ` Mukunda,Vijendar [this message]
2022-07-07 11:55     ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2024-04-08  4:12 Stephen Rothwell
2024-04-08  8:24 ` Cezary Rojewski
2024-04-08 22:33   ` Stephen Rothwell
2024-04-08 12:28 ` Mark Brown
2024-04-08 13:56   ` Cezary Rojewski
2023-10-20  1:42 Stephen Rothwell
2023-05-15  1:43 Stephen Rothwell
2023-02-01  0:14 Stephen Rothwell
2022-09-21  2:31 Stephen Rothwell
2022-07-06  1:55 Stephen Rothwell
2022-07-06 12:09 ` Mark Brown
2022-07-06 12:13   ` Amadeusz Sławiński
2022-07-06 12:20   ` Cezary Rojewski
2022-07-07  0:52   ` Stephen Rothwell
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:01 ` Amadeusz Sławiński
2022-04-26 10:49   ` Stephen Rothwell
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:00 ` Amadeusz Sławiński
2022-04-26 11:10   ` Mark Brown
2022-04-26  8:30 Stephen Rothwell
2022-04-27  3:53 ` Tinghan Shen
2021-10-25  2:13 Stephen Rothwell
2021-10-25  7:57 ` Ajit Kumar Pandey
2021-09-28  5:35 Stephen Rothwell
2021-09-28  7:17 ` Arnd Bergmann
2021-10-06  3:04 ` Stephen Rothwell
2021-10-07 14:22   ` Arnd Bergmann
2021-06-15  7:32 Stephen Rothwell
2021-06-15  9:04 ` Srinivas Kandagatla
2020-04-23  5:55 Stephen Rothwell
2020-04-23 11:30 ` Mark Brown
2020-04-23 12:26   ` Pierre-Louis Bossart
2020-04-23 14:26     ` Mark Brown
2020-04-23 13:04   ` Stephen Rothwell
2020-04-23 14:21     ` Mark Brown
2020-04-25 23:30       ` Michael Ellerman
2020-04-27 11:19         ` Mark Brown
2020-04-21  2:11 Stephen Rothwell
2020-04-22 11:19 ` Mark Brown
2020-01-15  1:02 Stephen Rothwell
2020-01-15  5:09 ` Marek Vasut
2020-01-14  0:57 Stephen Rothwell
2019-10-11  0:01 Stephen Rothwell
2019-10-15  6:46 ` Daniel Baluta
2019-10-15 11:38   ` Stephen Rothwell
2019-08-09  3:08 Stephen Rothwell
2019-08-13  3:16 ` Stephen Rothwell
2019-08-13 11:21   ` Mark Brown
2019-08-13 13:52     ` Pierre-Louis Bossart
2019-04-03  0:11 Stephen Rothwell
2019-04-03  2:12 ` Baolin Wang
2019-04-03  3:35   ` Mark Brown
2019-04-03  4:27     ` Baolin Wang
2019-04-03  4:43       ` Mark Brown
2019-03-26 23:03 Stephen Rothwell
2019-03-26  2:33 Stephen Rothwell
2019-03-26 13:15 ` Mark Brown
2019-03-27  4:29   ` Michael Ellerman
2019-03-27 11:57     ` Mark Brown
2019-04-01 11:11       ` Michael Ellerman
2019-04-02  5:14         ` Mark Brown
2019-02-08  2:18 Stephen Rothwell
2019-02-08  7:37 ` Takashi Iwai
2019-02-08  8:39   ` Takashi Iwai
2019-02-08 12:53     ` Mark Brown
2018-04-17 23:51 Stephen Rothwell
2018-04-18 14:49 ` Mark Brown
2018-04-17  1:02 Stephen Rothwell
2018-04-17  1:22 ` Shuming [范書銘]
2018-04-17  2:14   ` Shuming [范書銘]
2018-03-21  2:30 Stephen Rothwell
2018-03-21  2:45 ` Mark Brown
2018-03-21  5:45   ` Mukunda,Vijendar
2018-03-22  1:38     ` Mark Brown
2018-03-22  5:54       ` Mukunda,Vijendar
2018-03-27 11:27         ` Mark Brown
2018-03-27 12:45           ` Mukunda,Vijendar
2018-03-13  6:09 Stephen Rothwell
2018-03-13  8:52 ` Adam Thomson
2018-03-01 23:54 Stephen Rothwell
2018-03-02  2:49 ` John Hsu
2018-02-18 23:32 Stephen Rothwell
2018-02-19  0:42 ` Kuninori Morimoto
2018-02-19  4:27 ` Agrawal, Akshu
2018-02-15  0:35 Stephen Rothwell
2018-02-15  2:49 ` Kuninori Morimoto
2018-02-15 15:33   ` Mark Brown
2018-02-16  0:01     ` Kuninori Morimoto
2017-11-29  0:50 Stephen Rothwell
2017-09-20  2:01 Stephen Rothwell
2017-09-20 11:54 ` robert.jarzmik
2017-09-20 11:56   ` Mark Brown
2017-08-25  7:58 Hsin-yu Chao
2017-08-25  7:41 Stephen Rothwell
2017-06-29  1:54 Stephen Rothwell
2017-06-29  2:01 ` Bard Liao
2017-06-30  1:51   ` Stephen Rothwell
2017-07-03  3:21     ` Stephen Rothwell
2017-06-16  2:04 Stephen Rothwell
2017-06-14  1:26 Stephen Rothwell
2017-06-14  2:22 ` Kuninori Morimoto
2017-06-08  3:37 Stephen Rothwell
2016-12-06  0:14 Stephen Rothwell
2016-12-06  0:41 ` Kuninori Morimoto
2016-12-06  9:37   ` Mark Brown
2016-12-06 12:55     ` Lee Jones
2016-12-06 13:22       ` Mark Brown
2016-11-14  0:28 Stephen Rothwell
2016-11-14  9:45 ` Richard Fitzgerald
2016-11-08  2:47 Stephen Rothwell
2016-11-08  3:18 ` Chen-Yu Tsai
2016-11-09 14:41   ` Mark Brown
2016-08-23  2:27 Stephen Rothwell
2016-08-08  0:50 Stephen Rothwell
2016-08-08  1:29 ` Kuninori Morimoto
2016-05-11  1:07 Stephen Rothwell
2016-05-11  3:38 ` Vinod Koul
2016-05-06  0:57 Stephen Rothwell
2016-05-06  9:48 ` Opensource [Adam Thomson]
2016-05-06 12:02   ` Mark Brown
2016-05-06 13:39     ` Opensource [Adam Thomson]
2016-04-22  2:03 Stephen Rothwell
2016-04-22  8:40 ` Philipp Zabel
2016-04-22  8:58   ` Mark Brown
2016-04-22  9:21   ` Mark Brown
2015-11-19  0:35 Stephen Rothwell
2015-11-19  3:02 ` Vinod Koul
2015-11-19 10:38   ` Mark Brown
2015-11-20 12:06   ` Mark Brown
2015-11-20 14:58     ` Vinod Koul
2015-09-21  1:23 Stephen Rothwell
2015-08-28  1:50 Stephen Rothwell
2015-08-28  7:40 ` Ricard Wanderlof
2015-08-28 15:45   ` Mark Brown
2015-08-31  7:04     ` Ricard Wanderlof
2015-08-31  7:48       ` Stephen Rothwell
2015-08-31  7:51         ` Stephen Rothwell
2015-08-31  8:18           ` Ricard Wanderlof
2015-07-17  4:25 Stephen Rothwell
2015-07-20  3:44 ` Stephen Rothwell
2015-06-04  4:02 Stephen Rothwell
2015-06-02  2:51 Stephen Rothwell
2015-04-30  2:05 Stephen Rothwell
2015-04-30  2:14 ` Bard Liao
2015-03-10  2:01 Stephen Rothwell
2015-03-12  2:11 ` Stephen Rothwell
2015-03-12  2:50   ` Bard Liao
2015-02-09  3:36 Stephen Rothwell
2015-01-28  2:00 Stephen Rothwell
2015-01-28  9:09 ` Charles Keepax
2015-01-28  9:50   ` Charles Keepax
2015-01-28 11:06     ` Mark Brown
2014-10-21  0:33 Stephen Rothwell
2014-08-17 22:30 Stephen Rothwell
2014-08-18  6:51 ` Sean Cross
2014-08-18 14:09   ` Mark Brown
2014-04-15  1:49 Stephen Rothwell
2014-04-15  1:47 Stephen Rothwell
2014-03-19  1:10 Stephen Rothwell
2014-03-19 10:17 ` Mark Brown
2014-03-19 20:30   ` Stephen Rothwell
2014-02-20  3:01 Stephen Rothwell
2013-11-29  0:54 Stephen Rothwell
2013-11-29 12:36 ` Mark Brown
2013-07-16  3:18 Stephen Rothwell
2013-07-16 11:52 ` Mark Brown
2013-06-17  3:46 Stephen Rothwell
2013-03-21  2:13 Stephen Rothwell
2013-02-08  0:57 Stephen Rothwell
2013-02-05  1:46 Stephen Rothwell
2013-01-23  2:17 Stephen Rothwell
2013-01-14  1:04 Stephen Rothwell
2013-01-14  4:55 ` Mark Brown
2012-10-29  0:48 Stephen Rothwell
2012-10-29 18:15 ` Mark Brown
2012-10-29 20:46   ` Stephen Rothwell
2012-10-30 12:11     ` Mark Brown
2012-06-29  3:38 Stephen Rothwell
2012-06-29  7:09 ` Mark Brown
2012-06-25  4:11 Stephen Rothwell
2012-06-25  6:09 ` Rajeev kumar
2012-06-25  8:06   ` viresh kumar
2012-06-25  9:03   ` Mark Brown
2012-06-13  2:52 Stephen Rothwell
2012-06-12  1:59 Stephen Rothwell
2012-06-05  1:25 Stephen Rothwell
2012-06-04  3:25 Stephen Rothwell
2012-06-04  7:19 ` Mark Brown
2012-05-10  4:33 Stephen Rothwell
2012-05-10  8:30 ` Linus Walleij
2012-05-10  8:35   ` Ola Lilja
2012-05-10  9:11     ` Mark Brown
2012-05-10  9:09   ` Mark Brown
2012-05-10 12:12     ` Linus Walleij
2012-04-03  1:26 Stephen Rothwell
2012-04-02  1:34 Stephen Rothwell
2012-04-02 15:04 ` Mark Brown
2012-02-06  1:25 Stephen Rothwell
2012-02-06 16:50 ` Liam Girdwood
2012-02-06 16:53   ` Mark Brown
2012-02-06 22:02   ` Stephen Rothwell
2012-01-23  1:14 Stephen Rothwell
2012-01-23  2:25 ` Fabio Estevam
2012-01-23 10:47 ` Mark Brown
2012-01-23 13:10   ` Stephen Rothwell
2011-12-15  3:38 Stephen Rothwell
2011-12-15  6:10 ` Mark Brown
2011-12-13  3:58 Stephen Rothwell
2011-10-06  2:22 Stephen Rothwell
2011-08-11  3:11 Stephen Rothwell
2011-08-11  4:06 ` Mark Brown
2011-08-12  0:37   ` Stephen Rothwell
2011-08-10  0:25 Stephen Rothwell
2011-08-10  4:55 ` Mark Brown
2011-06-14  3:43 Stephen Rothwell
2011-06-07  1:55 Stephen Rothwell
2011-04-28  1:53 Stephen Rothwell
2011-04-12  1:59 Stephen Rothwell
2011-04-12  4:48 ` Mark Brown
2011-03-07  1:56 Stephen Rothwell
2011-03-07 11:47 ` Mark Brown
2011-02-15  2:33 Stephen Rothwell
2010-12-27 23:40 Stephen Rothwell
2010-12-27 23:48 ` Stephen Rothwell
2010-12-28  2:17   ` Mark Brown
2010-12-30 12:24     ` Takashi Iwai
2010-12-28  2:15 ` Mark Brown
2010-12-23  1:02 Stephen Rothwell
2010-12-23  2:12 ` Mark Brown
2010-12-01  0:31 Stephen Rothwell
2010-10-18  3:29 Stephen Rothwell
2010-10-18  3:39 ` Stephen Rothwell
2010-10-18  5:44   ` Takashi Iwai
2010-10-18  5:03 ` Mark Brown
2010-10-18 20:25 ` Peter Hsiang
2010-10-19  0:07   ` Mark Brown
2010-10-19  0:30     ` Peter Hsiang
2010-10-19  0:43       ` 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=9f4d8898-eb5f-aa91-57d3-66a78e9c4316@amd.com \
    --to=vijendar.mukunda@amd.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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).