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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A65FC433F5 for ; Sun, 14 Nov 2021 21:43:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC2E161077 for ; Sun, 14 Nov 2021 21:43:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EC2E161077 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=elRz03yziHf52CSLt925O/0VyyPn9v1w6NIBO5S+1ts=; b=uh+LKcjTU4B5qm jJtecQ41tMtjy00cOrkzDROuiolQF++Q4jVbJ+t7OkYadORM/k3fGAeZE10+6s3Frkdx01JeH5yl6 qTP1AMn8L5YroghM39mFzYzDBf9GCRRVNTRCKDvR4w3iPh5TOi3ucCQOoCm0JuYayMmHEyGFzWFez s26GGYQzp50DtD6dhi0Jg6WpsiUyAYWzEej5oSw1npmkmYhZfQOja8SeHzVTaLhllNfVKuSJtU4ky ue4NAQGjDMxxqzMR3W33rWBcNfzLVAF3KxVXQUvTtUUz/5uYCUZxaNu13+H8aQJJwdsUXQj1N9jkj PwViQ9hx0vtOcb5oD1NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmNGS-00E5sA-WF; Sun, 14 Nov 2021 21:42:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmNGP-00E5rp-Os for linux-arm-kernel@lists.infradead.org; Sun, 14 Nov 2021 21:42:14 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 010CB6058D; Sun, 14 Nov 2021 21:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636926131; bh=QpxOx2hlB8LK9k1Al6jjy8pp6tVeoOJsm14sAGQEYsc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Si4J9oT0AW9pz68sOQs2yWuLSNK1LdjLKVATZnbyEX7JquRebWCS95pGPq/fJ5q6w ++w48qv5y9SwLUabN7IRmIOIj0zVgh5phndvU76Y48C/004Rk78NPyaoJiawyNIa6x SEHxpqtiKMEERuumhxQ2ybbZ3cSyouhgvwcyGXCjQTY3p9NsMA5Wu7kgsfNUChOQmZ x5S/Z17aPyc3zQK/RlGQ0wZcm7Tk0xKfkyaXUEASIUCE2g46BJlJxqu0PRIRz1q0TC zvhzFOmyJMZXuAyqqHDF4NAnb3kw4osAcggPDg1Cd1wIzHRS5Mzb6SZ3R2tXsWsfvg J77xYKzuKwNxA== Date: Sun, 14 Nov 2021 14:42:06 -0700 From: Nathan Chancellor To: Miguel Ojeda Cc: Ard Biesheuvel , Marc Zyngier , kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux ARM Subject: Re: [arm-platforms:hack/m1-pmu 8/8] drivers/perf/apple_m1_cpu_pmu.c:100:32: warning: initializer overrides prior initialization of this subobject Message-ID: References: <202111141650.o5b2LSZU-lkp@intel.com> <0b7463e699956abb0f8b0da7a9254500@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211114_134213_894372_56477C22 X-CRM114-Status: UNSURE ( 7.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Nov 14, 2021 at 01:24:16PM +0100, Miguel Ojeda wrote: > On Sun, Nov 14, 2021 at 12:07 PM Ard Biesheuvel wrote: > > > > +KBUILD_CFLAGS += $(call cc-option, -Wno-initializer-overrides) > > I don't think we would need `cc-option`. -Winitializer-overrides is the clang version of the flag, as opposed to -Woverride-init for gcc. A compatibility flag was added in clang 8 so if this is changed to KBUILD_CFLAGS += -Wno-override-init it should work for both compilers. Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel