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 19ADBC4829A for ; Tue, 13 Feb 2024 11:04:47 +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=6ijq4bSpciNGKmWTDWCQamf2lmdxc7YymhN6xPIaXAw=; b=WZ2zOIgax2Zo/8 05e0jcv2fUWLH8PjSWO06IPxDNn5zdK//Nqus7KjwF3bBcGyyEcI5sRP89QXYpIDNp0+p0j/+QmAQ 82GCooPtmWppWPfwD7bCXD5pJUkRn7JVURGkICEokCYatFnFFdMuiWu5lAeXLCV/3iiK+l0FRvoIg l3xZPenmiaMNZtSbFvk1h1m+osTR6AUOqQ3x9HwAzEoJJGBGeXdtQ5SYcI9lMO3BgQfs+r8Oow+xz mInCf3RgwAjDXa+WfQJb72O8Buunkj2hh4W1jRWMu1ypvMzjJIoqkrVerlwuKl4Xi9yKhb3RUc8X4 2l7lDnlrFg1YMLAiSOlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqaT-00000008wSN-41vg; Tue, 13 Feb 2024 11:04:29 +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 1rZqaQ-00000008wRf-1fU0 for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 11:04:27 +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 A7A9ADA7; Tue, 13 Feb 2024 03:05:05 -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 D42CD3F5A1; Tue, 13 Feb 2024 03:04:23 -0800 (PST) Message-ID: Date: Tue, 13 Feb 2024 11:04:22 +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_030426_531105_2378B5CB X-CRM114-Status: GOOD ( 10.80 ) 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 for verifying, I have queued this. https://git.kernel.org/coresight/c/c099fdd218a0 Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel