From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EFDECE79A8 for ; Tue, 19 Sep 2023 18:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232199AbjISSTO (ORCPT ); Tue, 19 Sep 2023 14:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231929AbjISSTN (ORCPT ); Tue, 19 Sep 2023 14:19:13 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73868F for ; Tue, 19 Sep 2023 11:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695147546; x=1726683546; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3FR81ZkNHRdK+lOnUeVZcaHcl/uafUM0C3FgoIlRkag=; b=IkFvITc/MjstLhJ94NsyR1xInEUXPeI0z2xRi028kDkqmQIXtdNnHoaj EvTzTG+soOBdRI8yQhLouMl76rLptsVHpVE/uKRgLI8iK3hzCIQr4seTh qLIGN612lqxwDnqLZnjQ0aM3iXo9YqMLVkpwQpOM+akW6f3kE5aLmQ82x hGEXa3bRzlrfPJarRqh/OeP73CTirQBkJAQj7YJwn2Jh3HsiPH8Ta0PjJ j/sbfIKTNa2EhrfjK4kwLOY8Smfs+VwLi+fMOSTYPB3Qz6hb80AtESh6+ dFtPlUf7C0lmggnv4vN+mlzGg+5OONEZ6cFWzU0bycuRwTsXFXTyWU50Z A==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="378909641" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="378909641" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 11:19:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="722966010" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="722966010" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 19 Sep 2023 11:19:03 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qifJN-0007n9-1e; Tue, 19 Sep 2023 18:19:01 +0000 Date: Wed, 20 Sep 2023 02:18:56 +0800 From: kernel test robot To: Stefan Binding , Jaroslav Kysela , Takashi Iwai Cc: oe-kbuild-all@lists.linux.dev, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, Vitaly Rodionov , Stefan Binding Subject: Re: [PATCH v3 1/2] ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA Message-ID: <202309200216.1V4V854z-lkp@intel.com> References: <20230919142240.467682-2-sbinding@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230919142240.467682-2-sbinding@opensource.cirrus.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20230919] [cannot apply to tiwai-sound/for-next tiwai-sound/for-linus v6.6-rc2 v6.6-rc1 v6.5 linus/master v6.6-rc2] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Binding/ALSA-hda-cs35l41-Support-mute-notifications-for-CS35L41-HDA/20230920-005359 base: next-20230919 patch link: https://lore.kernel.org/r/20230919142240.467682-2-sbinding%40opensource.cirrus.com patch subject: [PATCH v3 1/2] ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230920/202309200216.1V4V854z-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230920/202309200216.1V4V854z-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309200216.1V4V854z-lkp@intel.com/ All warnings (new ones prefixed by >>): sound/pci/hda/patch_realtek.c: In function 'comp_acpi_device_notify': sound/pci/hda/patch_realtek.c:6718:52: error: implicit declaration of function 'acpi_device_handle'; did you mean 'acpi_fwnode_handle'? [-Werror=implicit-function-declaration] 6718 | spec->comps[i].acpi_notify(acpi_device_handle(spec->comps[i].adev), event, | ^~~~~~~~~~~~~~~~~~ | acpi_fwnode_handle sound/pci/hda/patch_realtek.c:6718:52: warning: passing argument 1 of 'spec->comps[i].acpi_notify' makes pointer from integer without a cast [-Wint-conversion] 6718 | spec->comps[i].acpi_notify(acpi_device_handle(spec->comps[i].adev), event, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int sound/pci/hda/patch_realtek.c:6718:52: note: expected 'acpi_handle' {aka 'void *'} but argument is of type 'int' sound/pci/hda/patch_realtek.c: At top level: >> sound/pci/hda/patch_realtek.c:6708:13: warning: 'comp_acpi_device_notify' defined but not used [-Wunused-function] 6708 | static void comp_acpi_device_notify(acpi_handle handle, u32 event, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/comp_acpi_device_notify +6708 sound/pci/hda/patch_realtek.c 6707 > 6708 static void comp_acpi_device_notify(acpi_handle handle, u32 event, void *data) 6709 { 6710 struct hda_codec *cdc = data; 6711 struct alc_spec *spec = cdc->spec; 6712 int i; 6713 6714 codec_info(cdc, "ACPI Notification %d\n", event); 6715 6716 for (i = 0; i < HDA_MAX_COMPONENTS; i++) { 6717 if (spec->comps[i].dev && spec->comps[i].acpi_notify) > 6718 spec->comps[i].acpi_notify(acpi_device_handle(spec->comps[i].adev), event, 6719 spec->comps[i].dev); 6720 } 6721 } 6722 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki