[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DU0PR04MB9417A00C2F5BA3F8D6F2C7E088119@DU0PR04MB9417.eurprd04.prod.outlook.com>
Date: Wed, 16 Mar 2022 02:03:49 +0000
From: Peng Fan <peng.fan@....com>
To: Wan Jiabing <wanjiabing@...o.com>,
Jassi Brar <jassisinghbrar@...il.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
dl-linux-imx <linux-imx@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
CC: "kael_w@...com" <kael_w@...com>
Subject: RE: [PATCH] mailbox: imx: Fix duplicate field initialization in imx
> Subject: [PATCH] mailbox: imx: Fix duplicate field initialization in imx
>
> Fix the following coccicheck warning:
> ./drivers/mailbox/imx-mailbox.c:884:51-52: rxdb: first occurrence line 887,
> second occurrence line 889
>
> Fixes: 315d2e562418 ("mailbox: imx: introduce rxdb callback")
> Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
Reviewed-by: Peng Fan <peng.fan@....com>
> ---
> 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,
> --
> 2.35.1
Powered by blists - more mailing lists