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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D5615C4829A for ; Tue, 13 Feb 2024 11:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7MjZNSeFuqL2aS/Md3l9upchWOZ7j58U2NNbH7xA0+g=; b=FN231OqrMsm2Ra LNpbii2VasNTbr033wVS/KN/0vPZqzma4cwYXAqMNM0f3J+HfpYdlYG7e6pbS5IgxZGcwoWvWLzgH YGiEFMfPEtv2twIJnV4BXFJF17AfQViodpcaSJHlheRWliqB3Hpd3TX/AZxYRsxbxZooIyjCkrF3c RKWs+WuZx/5nPVwkpUt7OQkCui1gF/4Txbn/hqGwZ6khwtOMBGmlhBqm927B8Ue72RmMPa987rRrh 38OUmmW+moNp1f3X6vSyVJK1TxIFfEYdcM/xRjYwHTxq2mmdjdrStq2K1/x23jhgx9f47CC9FpB3M NFRo9QfWcMsN2AX3Dxiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqXP-00000008vye-0wTs; Tue, 13 Feb 2024 11:01:19 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqXM-00000008vy5-2tCR for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 11:01:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E3AA1DA7; Tue, 13 Feb 2024 03:01:54 -0800 (PST) Received: from [10.57.50.4] (unknown [10.57.50.4]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1FFDB3F5A1; Tue, 13 Feb 2024 03:01:13 -0800 (PST) Message-ID: Date: Tue, 13 Feb 2024 11:01:12 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 08/10] coresight-tpdm: Add timestamp control register support for the CMB Content-Language: en-GB To: Arnd Bergmann Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, Tao Zhang References: <7723c9f1-fda7-4dc9-bb5a-e12d4908becf@app.fastmail.com> <20240213102239.2229731-1-suzuki.poulose@arm.com> From: Suzuki K Poulose In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_030116_813217_8D6A3BA4 X-CRM114-Status: GOOD ( 10.48 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 13/02/2024 10:45, Arnd Bergmann wrote: > On Tue, Feb 13, 2024, at 11:22, Suzuki K Poulose wrote: > >> coresight: tpdm: Fix build break due to uninitialised field >> >> {CMB/DSB}_PATT_ENABLE_TS attributes do not use an index field. >> But some compilers complain for uninitialised "index" field in >> the struct tpdm_dataset_attribute: >> > ... >> >> Reported-by: Arnd Bergmann >> Cc: Tao Zhang >> Signed-off-by: Suzuki K Poulose > > Works fine here with this, thanks for the fix! > > Acked-by: Arnd Bergmann > > I had actually missed that this is a warning option that > is normally disabled even at W=1 level, but it does get > added by drivers/hwtracing/coresight/Makefile setting > -Wextra again because that comes after the > -Wno-missing-field-initializers from scripts/Makefile.extrawarn. > > Arnd Thanks, I will queue this. Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel