Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp134393pxp; Tue, 8 Mar 2022 22:46:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzr49ALVCAeN9d8HGJcJmCbb56e3oI/7IW1flcOjGigQi6JLv2J3/wPj98mEvjfFa4lIzMQ X-Received: by 2002:a17:907:97cc:b0:6da:a8fb:d1db with SMTP id js12-20020a17090797cc00b006daa8fbd1dbmr16733860ejc.267.1646808404637; Tue, 08 Mar 2022 22:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646808404; cv=none; d=google.com; s=arc-20160816; b=ebBvivtPpf7vbSInKSV8kKfNsBMneugT6wHSjsS0g7mitjAVKYYi+/zMkvxqsUQ44c gIvGZjNrf7YStjjgCw1cN+5VGGlxFmrSPQCzojQIyDh4kAWRUrWYzmAiC1ICexgtBs2r R8SLgREM3a26cI2HJak8LhnKIc3cEvU+8TvLnl6NttIIjR6/x0TJdc6BzxoG2W/N7Etm 5llO6ocp4C+cKqbfFQbi030Hgi0hNzshGBaFekXeeffb5lS0+U0Vg0RkOCE+CAp1HH3b 6hllSO0UhIyR/tcXZfM34ED1NIQVv1f5rHb2M+57nTFHYaAb7mNpxnSYJXgQP5wm8jJ+ 5Q/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=4GvmktJr52ft+z8QerfeJe9+ntXE+XxIT5MOyKTOO+w=; b=P0GAgKufzfaVmISo3JZobTFrlBSJkFT2dk2zDuCx0GcDY9ubnqXt/GC58OBVJiYR9L enaguxb2Wpst4diK7KI54qn3EjGqGzA7zkOXI1Y4xouwcLQAU16equWKCF2Szc4dxokW WDUvaan508BaziI1XwPj4peMRzw18OlFdEtZ3iV4jhDIcAtq7ejQEI/Vy8V8nI6ahL8C 9m4NT77m5fjwhBQJpsrXIR2IzYV5REJuRUR87R9FenyHAYFOYinPRreIMCY13cAicSRs utyWpcVgbTWEELbzocU/9dEKNbeG0fHDyFoKeri/6Hsl2py+TwhSNYJ+QiUusYN6jol0 sUtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jovzajS/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a170906795100b006db166ef563si686604ejo.16.2022.03.08.22.46.22; Tue, 08 Mar 2022 22:46:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jovzajS/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbiCIGLB (ORCPT + 99 others); Wed, 9 Mar 2022 01:11:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiCIGKz (ORCPT ); Wed, 9 Mar 2022 01:10:55 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CA6E102153 for ; Tue, 8 Mar 2022 22:09:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646806197; x=1678342197; h=date:from:to:cc:subject:message-id:mime-version; bh=QaTkd09eG/R5KsguqislEV+gQdMXQ6RqN5ogPYnCM/g=; b=jovzajS/rAZueU2kOMKV6+6d61DgqxBc2Jc5ivFgsKK3/6iaiRLD+yrK WhQdTbSwjTBgdR4VnHzpV1J54MC96KyKiZROYFJOLbt90/6Q7XehCxnoD GUCmbNtnmhE/TTh/kxwm+SGsB3jRVKsI0PJHJxifBQMtqPMAclH3AqJTn 3zD4cSYS0eNyJ5P6+ZUIrc3HRD1s/3KLbyNAO2+6n9cb8y20nwEbnH0VJ eH0zo9UKeHIBDnFnIU13DCS60O+gzs/tK0ug8u9ps7xWwX6FXh32+PFAZ H8BRal413+OcXp/6H4qnyZdF+9qc49zwj3ecA6/ZqwcVcs/0h02UMShan g==; X-IronPort-AV: E=McAfee;i="6200,9189,10280"; a="253727997" X-IronPort-AV: E=Sophos;i="5.90,166,1643702400"; d="scan'208";a="253727997" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 22:09:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,166,1643702400"; d="scan'208";a="643930050" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 08 Mar 2022 22:09:55 -0800 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nRpWE-0002hz-AH; Wed, 09 Mar 2022 06:09:54 +0000 Date: Wed, 9 Mar 2022 14:09:30 +0800 From: kernel test robot To: Codrin Ciubotariu Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Mark Brown Subject: [ammarfaizi2-block:broonie/sound/for-next 13916/13921] sound/soc/atmel/mchp-pdmc.c:186:34: warning: address of array 'uvalue->value.integer.value' will always evaluate to 'true' Message-ID: <202203091430.MLY27Bif-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/ammarfaizi2/linux-block broonie/sound/for-next head: 0b7daa6bd0a4cab3b0c6f266a8cb1344ce14ef19 commit: 50291652af5269813baa6024eb0e81b5f0bbb451 [13916/13921] ASoC: atmel: mchp-pdmc: add PDMC driver config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20220309/202203091430.MLY27Bif-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/50291652af5269813baa6024eb0e81b5f0bbb451 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block broonie/sound/for-next git checkout 50291652af5269813baa6024eb0e81b5f0bbb451 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash sound/soc/atmel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/atmel/mchp-pdmc.c:186:34: warning: address of array 'uvalue->value.integer.value' will always evaluate to 'true' [-Wpointer-bool-conversion] bool af = uvalue->value.integer.value ? true : false; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ~ 1 warning generated. vim +186 sound/soc/atmel/mchp-pdmc.c 180 181 static int mchp_pdmc_af_put(struct snd_kcontrol *kcontrol, 182 struct snd_ctl_elem_value *uvalue) 183 { 184 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 185 struct mchp_pdmc *dd = snd_soc_component_get_drvdata(component); > 186 bool af = uvalue->value.integer.value ? true : false; 187 188 if (dd->audio_filter_en == af) 189 return 0; 190 191 dd->audio_filter_en = af; 192 193 return 1; 194 } 195 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org