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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF21EC433EF for ; Mon, 6 Jun 2022 01:31:13 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 310D21A22; Mon, 6 Jun 2022 03:30:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 310D21A22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654479071; bh=zMSYBdPZzAuuO28IZ9nlREWxNGltAvphQeWdtZeR5zI=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Ryzks6Xhs89eQJ5Oqs5hhfqMdXU2y7CEBHWn9j5HOOrBlbXpv0A3fQfYBKgB8t9CT cqfDsOCjwZrejQwHl/upuXvWkCh0OLEDrfcdiz1/AOXqpMtGSvcTCn1aVr2Dw0hcoH 2NSZ4XSW3JmfvM64M8DktRqUAMZINMgfenZmKJfc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B1338F8012A; Mon, 6 Jun 2022 03:30:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D9400F801D8; Mon, 6 Jun 2022 03:30:19 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E1660F80109 for ; Mon, 6 Jun 2022 03:30:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E1660F80109 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ah4+blbl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654479014; x=1686015014; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zMSYBdPZzAuuO28IZ9nlREWxNGltAvphQeWdtZeR5zI=; b=Ah4+blbluinPgd2DMt2uAXbWbD5T+9DP+PlbLvzveuQIqMXKDax+Hq1S lODVsGGLj01wKz0c6eONkAZhdgxhkryg9GzJuD68pt48RpkRVOyttOJ7N ynRy89XOw7CkiG8QJgOs8uyztZrYiSNs3+1debZz3ZQb+i3mPQ+M03hsb ddM5BNih1ZXuoUZe0e8GTdiLvRu2SqmZbVzBcr8HpWfad37gvpMVbzkpu VWmMbxVmwhy7j5wM28JaRX9swLoWxmf4uCbUlGPKUE6eCiNJjliYdg5NR lqeRg4C7mnSIpPCqz7xE1GHt/rR4IJXj5QD/btvMLI+U+rVSCyel3p7qG g==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="264360103" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="264360103" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 18:30:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635332707" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 05 Jun 2022 18:30:03 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1ny1ZC-000COJ-JT; Mon, 06 Jun 2022 01:30:02 +0000 Date: Mon, 6 Jun 2022 09:30:00 +0800 From: kernel test robot To: Mark Brown , Liam Girdwood , Srinivas Kandagatla Subject: Re: [PATCH] ASoC: wcd938x: Fix event generation for some controls Message-ID: <202206060948.KAZcrRC8-lkp@intel.com> References: <20220603122526.3914942-1-broonie@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220603122526.3914942-1-broonie@kernel.org> Cc: alsa-devel@alsa-project.org, Mark Brown , kbuild-all@lists.01.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi Mark, I love your patch! Perhaps something to improve: [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on v5.18 next-20220603] [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/Mark-Brown/ASoC-wcd938x-Fix-event-generation-for-some-controls/20220605-162848 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220606/202206060948.KAZcrRC8-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/77b0604d37f40ad0f56da53a9a38ad0de298fa52 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Brown/ASoC-wcd938x-Fix-event-generation-for-some-controls/20220605-162848 git checkout 77b0604d37f40ad0f56da53a9a38ad0de298fa52 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): sound/soc/codecs/wcd938x.c: In function 'wcd938x_rx_hph_mode_put': >> sound/soc/codecs/wcd938x.c:2546:13: warning: unused variable 'change' [-Wunused-variable] 2546 | int change; | ^~~~~~ vim +/change +2546 sound/soc/codecs/wcd938x.c 2540 2541 static int wcd938x_rx_hph_mode_put(struct snd_kcontrol *kcontrol, 2542 struct snd_ctl_elem_value *ucontrol) 2543 { 2544 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 2545 struct wcd938x_priv *wcd938x = snd_soc_component_get_drvdata(component); > 2546 int change; 2547 2548 if (wcd938x->hph_mode == ucontrol->value.enumerated.item[0]) 2549 return 0; 2550 2551 wcd938x->hph_mode = ucontrol->value.enumerated.item[0]; 2552 2553 return 1; 2554 } 2555 -- 0-DAY CI Kernel Test Service https://01.org/lkp