Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp24962pxb; Wed, 14 Apr 2021 08:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDVJJcuccPNJilHQhpQODZs8kTNt1jc5Yi8u07zHo1lDQLoY26TBOUdLcQGLIXV95z452+ X-Received: by 2002:a05:6402:4415:: with SMTP id y21mr41123216eda.70.1618414603121; Wed, 14 Apr 2021 08:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618414603; cv=none; d=google.com; s=arc-20160816; b=bvnMB7+20C4H/xhzRe1jaQkIdbu5pmehDTyKAYu1aoy73q4fNb2JIFrUF0q/BBXpJR zCOcz3a4in5i06VfXZazVyiyqcrv6eHiLPU7ws3dlg2MR3+RV7B8C0LeALvbR1h0HR+r /oJRLaChQsWcuoxPD0E8y0fgaPpAwrVJsGTb6aHgBv4aRzuy6/aKnHN28DzFSgEA/tmM 1ESR5zm2B2YQM0/9jujOa1jxPygCglCcptTaXK1yhBNcxU/kdBruM+S51b+hlWAIQA/r u1ng4yOPHFIdR+MA3e8r+sYGQAC02JRmKhGa8qxRkpycynGYXrfBvP3CuJQG5KkT3cNJ ki6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=F36W90hspbMvgACAAK/EqzceP2vc0L8ZwIj7uT0odfU=; b=l5bf7P3t3Ah1boE+AKZ92kkqipURrgTnruNwcBqP8/6As9/FQXvmXcsZsxgEzAYsNR vDzGoFbubeiAK/HRoZ+ngd3kilww9AEmGyzYvaktUM0ylnw4UZCs1roqhhoz6pVZ+MwR 6UQBP/UgLysZFHG0ZCzoj6mFB0s2O8W6eACs3MkeNx5XBMAaOYy60aOU9pU06YcjtlAh zMorcV8qd+ZuvuvlqiU9md46amneuTVwv7jnHXhtcHDANr6QGDbFwrs7GpJRnt+GLgWz QcincyjmvgChY+TvErrxuFmWlRwpSOCrrU2Ap7WO8UMzfojzEilu6331WhO+EZ9xdMwg iwdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ju11si1763636ejc.191.2021.04.14.08.36.17; Wed, 14 Apr 2021 08:36:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236908AbhDNLcS (ORCPT + 99 others); Wed, 14 Apr 2021 07:32:18 -0400 Received: from mail-m17635.qiye.163.com ([59.111.176.35]:38020 "EHLO mail-m17635.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232069AbhDNLcR (ORCPT ); Wed, 14 Apr 2021 07:32:17 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17635.qiye.163.com (Hmail) with ESMTPA id DE8DD400298; Wed, 14 Apr 2021 19:31:54 +0800 (CST) From: Wan Jiabing To: Derek Chickles , Satanand Burla , Felix Manlunas , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] [net] cavium/liquidio: Fix duplicate argument Date: Wed, 14 Apr 2021 19:31:48 +0800 Message-Id: <20210414113148.9777-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGkJMGFZLGRlJH0NJSkMZQk1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PDY6ORw*Pz8NHhNNKAsVERAM NRYKCTxVSlVKTUpDSEJCQkpOSE1NVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJSk5INwY+ X-HM-Tid: 0a78d026ec33d991kuwsde8dd400298 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: ./drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h:413:6-28: duplicated argument to & or | The CN6XXX_INTR_M1UPB0_ERR here is duplicate. Here should be CN6XXX_INTR_M1UNB0_ERR. Signed-off-by: Wan Jiabing --- drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h b/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h index b248966837b4..7aad40b2aa73 100644 --- a/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h +++ b/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h @@ -412,7 +412,7 @@ | CN6XXX_INTR_M0UNWI_ERR \ | CN6XXX_INTR_M1UPB0_ERR \ | CN6XXX_INTR_M1UPWI_ERR \ - | CN6XXX_INTR_M1UPB0_ERR \ + | CN6XXX_INTR_M1UNB0_ERR \ | CN6XXX_INTR_M1UNWI_ERR \ | CN6XXX_INTR_INSTR_DB_OF_ERR \ | CN6XXX_INTR_SLIST_DB_OF_ERR \ -- 2.25.1