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 61C49C433EF for ; Mon, 18 Oct 2021 14:06:42 +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 24AD960555 for ; Mon, 18 Oct 2021 14:06:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 24AD960555 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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RWI4T9+Fnm1J4gX9Wfyz4rUFGZxGEUhDt+Z5qmDQJLk=; b=4F7S5VAnl98Ef8 JUNXZigt9gOOF4LVSUEuO9wXT+fb6qgMY+anpGm/VvmQnB2SxQcj/L63XeOfy7UZFsr+2uqTq16Xa /eDgrFp7f7apsZ0gEojtYOWshylFOJ040qcoLX4+fba8KduA4InFkWpaMVG+HGc5f8kwQLWLXRFec ErfDFUeE1IgHls/yq/EqR1x0DbKwRwd91Mw2Ujf6pjaxRdDpcaRlXatZy9W4CdUyHvMJBmWbaUElF eGlhvjmgyv6dpmezdz7jBmqv1jelzWaSAMaann+NyH65ZCP6/QfAywBZkGnC2kR1TLGO8ITyxAO1p rQ1c84xJvS4xncBVY/sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcTG1-00Fyw4-LE; Mon, 18 Oct 2021 14:04:54 +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 1mcTDw-00FyC9-6N for linux-arm-kernel@lists.infradead.org; Mon, 18 Oct 2021 14:02:45 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5D9DA60555; Mon, 18 Oct 2021 14:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634565763; bh=qBP4lGLmr3X2VVadgyLsirqLEY3nvkU/QG//JMaopTw=; h=From:To:Cc:Subject:Date:From; b=X+qqu/tnPfnb0RuxIQIielfn72nWOq9cHFSvJOCx/m/uhyegp4iNjvebAhzC18RsS KFoZow9QsDGIKChJ0U8uBP/UT+7g2J1qpWwiKvyg+24nGL5U+VUZ8bRsNYTiSeXItG VTKEm4pLHwNXok19338R663M2ArrFTzz6ZQF1zPv9bAkyALOofci88czle8svypQ5d eESqHRp5uJbHUimkpThCcyIGrMXnoby2UnjIsRf20OVb1gN7xpYc9f184gWwMYjrcp RjKqy3r8IFt3BeialZ605yarnd9e+txl/zRjKPSQxKP/NPPgTfdWSaOlZgEvr8pTB5 zA+VvKTVgrdDQ== From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann Subject: [PATCH 1/3] ARM: rpc: ecard: use designated intializers Date: Mon, 18 Oct 2021 16:02:16 +0200 Message-Id: <20211018140218.3421945-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_070244_291727_C02251FF X-CRM114-Status: GOOD ( 10.01 ) 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 From: Arnd Bergmann gcc-8 warns about the use of positional initializers: arch/arm/mach-rpc/ecard.c:414:2: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] ecard_def_irq_enable, Change to the designated initializer used elsewhere in the kernel. Signed-off-by: Arnd Bergmann --- arch/arm/mach-rpc/ecard.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c index c30df1097c52..27df70013569 100644 --- a/arch/arm/mach-rpc/ecard.c +++ b/arch/arm/mach-rpc/ecard.c @@ -411,12 +411,12 @@ static int ecard_def_fiq_pending(ecard_t *ec) } static expansioncard_ops_t ecard_default_ops = { - ecard_def_irq_enable, - ecard_def_irq_disable, - ecard_def_irq_pending, - ecard_def_fiq_enable, - ecard_def_fiq_disable, - ecard_def_fiq_pending + .irqenable = ecard_def_irq_enable, + .irqdisable = ecard_def_irq_disable, + .irqpending = ecard_def_irq_pending, + .fiqenable = ecard_def_fiq_enable, + .fiqdisable = ecard_def_fiq_disable, + .fiqpending = ecard_def_fiq_pending }; /* -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel