From patchwork Sun May 1 10:34:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568599 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B88DC433EF for ; Sun, 1 May 2022 10:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343682AbiEAKiB (ORCPT ); Sun, 1 May 2022 06:38:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343519AbiEAKh7 (ORCPT ); Sun, 1 May 2022 06:37:59 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A1BDEAC for ; Sun, 1 May 2022 03:34:34 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id bv19so23068215ejb.6 for ; Sun, 01 May 2022 03:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V+FMZjVIJ5w3qpzg5VfAXXy3DLGF32A6QmZgvHOgpUo=; b=Axce0TYlrCwEH/OXf3Q+fPzTCVR1pkC55fzHRUNkfOa/5UKkS6l+gXGdDO7x/EKwu5 HIGmjEi/sz3/EcvRghaysm6hrH9v0MdU5YXPnxqw87y3ZVxkNoj8dmoOkv9JlYR7K7+/ 2xkuFuiStcHciDx9pmq1f9MVxZkhWNkSbaGte1cnm4eVvZKJXrn2FhogieCNxF4oV6ty e2C976bZfLYPyZuvrf5hyyjArlSI+xn7U+KpwyfYvZla4m5yncoKMKEewMrRRQReZdt7 voSOODD9ETfKVlD9cSqsIJvplBSQeNlCIGB0vcJ75pD4okj47Qh8USDiU+G1UL1lyqvN kchQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V+FMZjVIJ5w3qpzg5VfAXXy3DLGF32A6QmZgvHOgpUo=; b=QwFUEF1jhSN3sgw/3BxqlVANed0mglKE0AdY+MRBvMqd/RCcZOnFPjBAIr7qJNAShb 4ZeRj1VEo0nooTxr4hBfniveQM8awqRCFTtx06QhxHqYwqmUohHVrb+Lh0IESFSmd+nS HV/pv/ViRSVycfLpKP33JVQxKYBb6BPQ3DqB1HA3fBX/hXXCG3upGLlTTaxz1Bbt+z6J 7n+BTkP/SlG4HP5bhMCysxkbPp15clAXTNnve15KmadnAh0yHvbDBm6TFvgVjb4K89yA /63qBKFt8sCwOHzhE7gGgw1KgQ359DHPK6EHR0SA7k3oDCs6EL5dtiBlAbKcUisSVRik R6TQ== X-Gm-Message-State: AOAM5309O1x7UdQPhQWqLL8oPdkdQWOu8crYLP8yliQGHsIp9dbBYSZV rZ9VWXo+ilBTFK5J+A+PKFoS3g== X-Google-Smtp-Source: ABdhPJzUVs967ak8EbM5gnxWF8sDu1+zkwx/N8L+VXoBr1ZAa/Larvjb/c+OX2osNcUE6xtkNO598A== X-Received: by 2002:a17:907:8a14:b0:6f4:4365:dc07 with SMTP id sc20-20020a1709078a1400b006f44365dc07mr1243250ejc.693.1651401272951; Sun, 01 May 2022 03:34:32 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id gv49-20020a1709072bf100b006f3ef214e35sm2443733ejc.155.2022.05.01.03.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 03:34:32 -0700 (PDT) From: Krzysztof Kozlowski To: Jassi Brar , Viresh Kumar , Tushar Khandelwal , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Peng Fan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] mailbox: imx: fix duplicated initializer Date: Sun, 1 May 2022 12:34:28 +0200 Message-Id: <20220501103428.111286-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220501103428.111286-1-krzysztof.kozlowski@linaro.org> References: <20220501103428.111286-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org rxdb field is being initialized twice: drivers/mailbox/imx-mailbox.c:889:19: error: initialized field overwritten [-Werror=override-init] 889 | .rxdb = imx_mu_generic_rxdb, Fixes: 315d2e562418 ("mailbox: imx: introduce rxdb callback") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Peng Fan --- drivers/mailbox/imx-mailbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index e88f544a1548..df8a785be324 100644 --- a/drivers/mailbox/imx-mailbox.c +++ b/drivers/mailbox/imx-mailbox.c @@ -886,7 +886,6 @@ static const struct imx_mu_dcfg imx_mu_cfg_imx8ulp = { .rx = imx_mu_generic_rx, .rxdb = imx_mu_generic_rxdb, .init = imx_mu_init_generic, - .rxdb = imx_mu_generic_rxdb, .type = IMX_MU_V2, .xTR = 0x200, .xRR = 0x280,