From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93F1C2453A; Wed, 9 Aug 2023 20:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691613767; x=1723149767; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=gvyh+YMZyzw6l1AUm6s4evm1s8qrAk/50sEjOO8oAAs=; b=ftmIsX0USGMpBPRbdVPVZE4aC061+iSMEGUBxEfRw5tR2J4TK/4EcNFj R+QyV4rAn1ydKG6DLXYYOx5Zz2mI01kld0eFsK/DC0BYvLMGylZMPz+5B Zsz7eWYVKefzkk2gyylmVq1X9ho7WAJe9mstMzqhw8BRLB5487EafYLFq SnFQ/Pg9tU4iZCPKBA2PQQrV2gdNOPBTntKutU+c/bJ7dDy7EiwSd3uq6 DV4jkLOSdkcmEckJGRrXNN6UGngtg2ovC5KMSaLAUnRvOum+mJfxn1WNl bFrueuo3czr9mxaE/uKqhefUpi0235yPG+5RCCo+5dsrQh5xnDYKRTXsy w==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="402185179" X-IronPort-AV: E=Sophos;i="6.01,160,1684825200"; d="scan'208";a="402185179" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 13:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="1062626796" X-IronPort-AV: E=Sophos;i="6.01,160,1684825200"; d="scan'208";a="1062626796" Received: from jcaminer-mobl.amr.corp.intel.com (HELO [10.212.58.36]) ([10.212.58.36]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 13:42:45 -0700 Message-ID: Date: Wed, 9 Aug 2023 15:42:44 -0500 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.0 Subject: Re: [PATCH] ASoC: SOF: Intel: Initialize chip in hda_sdw_check_wakeen_irq() Content-Language: en-US To: Nathan Chancellor Cc: broonie@kernel.org, lgirdwood@gmail.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, daniel.baluta@nxp.com, kai.vehmanen@linux.intel.com, ndesaulniers@google.com, trix@redhat.com, rander.wang@intel.com, sound-open-firmware@alsa-project.org, alsa-devel@alsa-project.org, llvm@lists.linux.dev, patches@lists.linux.dev References: <20230809-intel-hda-missing-chip-init-v1-1-61557ca6fa8a@kernel.org> <8eed2099-2853-df8d-92db-921d0702f512@linux.intel.com> <20230809190212.GB3355565@dev-arch.thelio-3990X> <2a2de1b5-4dd5-f170-bb0b-61d39230c3a7@linux.intel.com> <20230809200906.GA4016444@dev-arch.thelio-3990X> From: Pierre-Louis Bossart In-Reply-To: <20230809200906.GA4016444@dev-arch.thelio-3990X> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > Ah, I still think you will need to pass CC to make directly, rather than > through the environment but you should be able to prevent > merge_config.sh from getting in the way by passing '-m' to avoid having > it invoke make itself, then you can add a 'make olddefconfig' step after > that, perhaps something like this? > > - name: build start > run: | > export ARCH=x86_64 KCFLAGS="-Wall -Werror" > export MAKEFLAGS=j"$(nproc)" > bash kconfig/kconfig-sof-default.sh -m The -m doesn't work since it's added last, but it's not even needed. The sequence below re-adds clang, that's just fine. > make CC=clang olddefconfig > make CC=clang sound/ > make CC=clang drivers/soundwire/ > make CC=clang The fun part now is that I get tons of unrelated errors - but at least that's a sign we're using the clang compiler https://github.com/thesofproject/linux/actions/runs/5813817494/job/15762178568?pr=4518 sound/pci/hda/hda_bind.c:232:18: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] 2151 request_module(mod); 2152 ^~~ 2153 ./include/linux/kmod.h:25:55: note: expanded from macro 'request_module' 2154 #define request_module(mod...) __request_module(true, mod) 2155 ^~~ 2156 sound/pci/hda/hda_bind.c:232:18: note: treat the string as an argument to avoid this 2157 request_module(mod); 2158 ^ 2159 "%s", 2160 ./include/linux/kmod.h:25:55: note: expanded from macro 'request_module' 2161 #define request_module(mod...) __request_module(true, mod) 2162 ^ 2163 1 error generated.