Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: "Vineet Gupta" <vgupta@kernel.org>,
	"Amadeusz Sławiński" <amadeuszx.slawinski@linux.intel.com>,
	"kernel test robot" <lkp@intel.com>,
	alsa-devel@alsa-project.org, broonie@kernel.org
Cc: upstream@semihalf.com, harshapriya.n@intel.com, rad@semihalf.com,
	pierre-louis.bossart@linux.intel.com, tiwai@suse.com,
	hdegoede@redhat.com, Geert Uytterhoeven <geert@linux-m68k.org>,
	kbuild-all@lists.01.org, cujomalainey@chromium.org,
	lma@semihalf.com
Subject: Re: [PATCH v2 11/15] ASoC: Intel: avs: Machine board registration
Date: Sat, 14 May 2022 15:20:40 +0200	[thread overview]
Message-ID: <9be2b24f-410b-a458-ba71-8a63cfb79ccc@intel.com> (raw)
In-Reply-To: <c8875143-87b7-9ece-8613-b8d90acb4526@kernel.org>

On 2022-05-14 4:49 AM, Vineet Gupta wrote:
> On 5/9/22 18:08, Amadeusz Sławiński wrote:
>> On 5/9/2022 1:58 PM, kernel test robot wrote:
>>> Hi Cezary,
>>>
>>> I love your patch! Perhaps something to improve:
>>>
>>> [auto build test WARNING on broonie-sound/for-next]
>>> [also build test WARNING on next-20220506]
>>> [cannot apply to tiwai-sound/for-next v5.18-rc6]
>>> [If your patch is applied to the wrong git tree, kindly drop us a note.
>>> And when submitting patch, we suggest to use '--base' as documented in
>>> https://git-scm.com/docs/git-format-patch]
>>>
>>> url: 
>>> https://github.com/intel-lab-lkp/linux/commits/Cezary-Rojewski/ASoC-Intel-avs-Driver-core-and-PCM-operations/20220509-165656 


...

>> Kernel test robot warns us about __fls and it is right, as __fls 
>> depending on architecture returns either unsigned int or unsigned long.
>> But I would say that this seems questionable, as I would expect 
>> consistent return value between arches, especially for functions where 
>> we operate on bits and probably don't want inconsistent results.
>>
>> Generic asm header [1] seems to suggest that it should accept unsigned 
>> long as parameter and return unsigned long. It seems however that arc 
>> accepts unsigned long as argument and returns int, while m68k uses int 
>> for argument and return value...
>>
>> Adding relevant architecture maintainers to CC.
>>
>> [1] 
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/asm-generic/bitops/__fls.h 
>>
> 
> In generic code __fls() returns long, while fls() return int, which is 
> weird as well. Anyhow for this error, ARC indeed needs fixing.
> Do u want to send a patch ?


Thanks for your input, Vineet. Yes, either me or Amadeo will address the 
problem with a separate change. Consequently, this means we won't be 
addressing the warning reported here by the kernel test bot.

Regards,
Czarek

  reply	other threads:[~2022-05-14 13:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  8:58 [PATCH v2 00/15] ASoC: Intel: avs: Driver core and PCM operations Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 01/15] ASoC: Intel: avs: Account for libraries when booting basefw Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 02/15] ASoC: Intel: avs: Generic soc component driver Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 03/15] ASoC: Intel: avs: Generic PCM FE operations Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 04/15] ASoC: Intel: avs: non-HDA PCM BE operations Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 05/15] ASoC: Intel: avs: HDA " Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 06/15] ASoC: Intel: avs: Coredump and recovery flow Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 07/15] ASoC: Intel: avs: Prepare for firmware tracing Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 08/15] ASoC: Intel: avs: D0ix power state support Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 09/15] ASoC: Intel: avs: Event tracing Cezary Rojewski
2022-05-09 14:42   ` kernel test robot
2022-05-09  8:58 ` [PATCH v2 10/15] ASoC: Intel: avs: Replace link_mask usage with i2s_link_mask Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 11/15] ASoC: Intel: avs: Machine board registration Cezary Rojewski
2022-05-09 11:58   ` kernel test robot
2022-05-09 12:38     ` Amadeusz Sławiński
2022-05-14  2:49       ` Vineet Gupta
2022-05-14 13:20         ` Cezary Rojewski [this message]
2022-05-09  8:58 ` [PATCH v2 12/15] ASoC: Intel: avs: PCI driver implementation Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 13/15] ASoC: Intel: avs: Power management Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 14/15] ASoC: Intel: avs: SKL-based platforms support Cezary Rojewski
2022-05-09  8:58 ` [PATCH v2 15/15] ASoC: Intel: avs: APL-based " Cezary Rojewski
2022-05-17 17:21 ` [PATCH v2 00/15] ASoC: Intel: avs: Driver core and PCM operations 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=9be2b24f-410b-a458-ba71-8a63cfb79ccc@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=cujomalainey@chromium.org \
    --cc=geert@linux-m68k.org \
    --cc=harshapriya.n@intel.com \
    --cc=hdegoede@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lkp@intel.com \
    --cc=lma@semihalf.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=rad@semihalf.com \
    --cc=tiwai@suse.com \
    --cc=upstream@semihalf.com \
    --cc=vgupta@kernel.org \
    /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