Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2154176rdb; Thu, 7 Dec 2023 22:37:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHS767Bkc3F5shkrDoqTI6rDQ7DPZmnliyRchLN+OiN+hlGpTEQ5j+XXSRbQEcp1Sp4gnkl X-Received: by 2002:a05:6358:6f86:b0:16d:bb7b:c0a7 with SMTP id s6-20020a0563586f8600b0016dbb7bc0a7mr4502352rwn.10.1702017462975; Thu, 07 Dec 2023 22:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702017462; cv=none; d=google.com; s=arc-20160816; b=BuGMduJ/JXyiIiZHYIh/tShccbIFCAq5NgBXV/UpCo+GPxr7voGnOaIKq3PKaPOkWO e/fR1R43lbb5t1ZDuj9N3iPb4UmAmBi01Qv6e6/cvkLcn21jff9B5PZo6JgQOocx3BqB ta+aD9fLX0lTWlOkkT7XnPCQ/T/MQUwMTVrhxNCFbflxKhI/BBTq6M/0aGa1smfLide4 vyK6vYTiKzqPMbpCaAdeN1u3xtbW6277iKR+hFTlX+sbAbSB5EtgXSjKP3bqLWCEmOOy 7/Mqts7s2ctpkFler4FtgwR/wmVW45qg2i69SiPdX2MNyLFf8/fk3HhVhJccfx6wfEwV hLWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:to :from:date:dkim-signature; bh=HeHqdWehBWmHsX2GmjyaBttzBIbXfbZUAsDgj9C8SMw=; fh=ZZLhC3K5WY2HaZQ5JvMB6iWnLEVWu41iAfEAXu8rBmc=; b=sJBFaSwir+3cJCERY1blBgeOCJO+YG5jDffiScKgXq4H+C0HGTCoLR2ngaIErVI70u ApxPrpThglIwtQaSW7Onu+HjD8FLZbF1eISKOUPJ3ZIniM55UJK/uQ2FY35IvOLOQ+8F kJa5hb3oSabbV/T+xZPSdp/LNw64iCxCbQhB6r/2fybgekIB5hz5im9RR28lvS2Ih9vE Hl5tD5N8iNZhMn6+ghWCrEC2Z5UeBAr905e5clOXAFxRdg3vZRyP0JBk6QhcKwByI2cP ZLdH71OjoPOKc8akouerr3gQNfYj2+IG/TCH/YKzvZXpLmY6IayxoTkTsJyIg/5WQNFi ka1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=UribllVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y75-20020a62ce4e000000b006ce542274e1si1035959pfg.99.2023.12.07.22.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 22:37:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=UribllVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C1F7E806502E; Thu, 7 Dec 2023 22:36:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233201AbjLHGgQ (ORCPT + 99 others); Fri, 8 Dec 2023 01:36:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232973AbjLHGgP (ORCPT ); Fri, 8 Dec 2023 01:36:15 -0500 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA7781722 for ; Thu, 7 Dec 2023 22:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:subject:message-id:mime-version; bh=HeHqdWehBWmHsX2GmjyaBttzBIbXfbZUAsDgj9C8SMw=; b=UribllVIpY6iJ3y10XU8TrHgFqcNGBtrcrHsno3Np+VoKlXwwQPsTM7b BmtPTFS3jVDcTBpQ7+MNUVDmXHW2ApPR4EBPJucjG5ovCglH7MyJbM04F MM7/0p7KkugrUg+QFDK4QdwRhQMp+ZNMhM/RZN7QzJPzuyEKzEUU08jVW 4=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,260,1695679200"; d="scan'208";a="73788584" Received: from 231.85.89.92.rev.sfr.net (HELO hadrien) ([92.89.85.231]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2023 07:36:17 +0100 Date: Fri, 8 Dec 2023 07:36:17 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Antoniu Miclaus , Jonathan Cameron , =?ISO-8859-15?Q?Nuno_S=E1?= , linux-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev Subject: drivers/iio/frequency/adf4377.c:498:19-48: duplicated argument to & or | (fwd) Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-847705971-1702017377=:3559" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 22:36:29 -0800 (PST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-847705971-1702017377=:3559 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Maybe line 498 should contain ADF4377_0000_SOFT_RESET_MSK, not ADF4377_0000_SOFT_RESET_R_MSK? julia ---------- Forwarded message ---------- Date: Fri, 8 Dec 2023 06:19:53 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Julia Lawall Subject: drivers/iio/frequency/adf4377.c:498:19-48: duplicated argument to & or | BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: linux-kernel@vger.kernel.org TO: Antoniu Miclaus CC: Jonathan Cameron CC: "Nuno S?" tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8 commit: eda549e2e52496d0d374ce457f514a4f14172aa5 iio: frequency: adf4377: add support for ADF4377 date: 1 year ago :::::: branch date: 3 days ago :::::: commit date: 1 year ago config: x86_64-randconfig-101-20231208 (https://download.01.org/0day-ci/archive/20231208/202312080606.0wEO9f5h-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce: (https://download.01.org/0day-ci/archive/20231208/202312080606.0wEO9f5h-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Julia Lawall | Closes: https://lore.kernel.org/r/202312080606.0wEO9f5h-lkp@intel.com/ cocci warnings: (new ones prefixed by >>) >> drivers/iio/frequency/adf4377.c:498:19-48: duplicated argument to & or | vim +498 drivers/iio/frequency/adf4377.c eda549e2e52496 Antoniu Miclaus 2022-11-15 484 eda549e2e52496 Antoniu Miclaus 2022-11-15 485 static int adf4377_soft_reset(struct adf4377_state *st) eda549e2e52496 Antoniu Miclaus 2022-11-15 486 { eda549e2e52496 Antoniu Miclaus 2022-11-15 487 unsigned int read_val; eda549e2e52496 Antoniu Miclaus 2022-11-15 488 int ret; eda549e2e52496 Antoniu Miclaus 2022-11-15 489 eda549e2e52496 Antoniu Miclaus 2022-11-15 490 ret = regmap_update_bits(st->regmap, 0x0, ADF4377_0000_SOFT_RESET_MSK | eda549e2e52496 Antoniu Miclaus 2022-11-15 491 ADF4377_0000_SOFT_RESET_R_MSK, eda549e2e52496 Antoniu Miclaus 2022-11-15 492 FIELD_PREP(ADF4377_0000_SOFT_RESET_MSK, 1) | eda549e2e52496 Antoniu Miclaus 2022-11-15 493 FIELD_PREP(ADF4377_0000_SOFT_RESET_R_MSK, 1)); eda549e2e52496 Antoniu Miclaus 2022-11-15 494 if (ret) eda549e2e52496 Antoniu Miclaus 2022-11-15 495 return ret; eda549e2e52496 Antoniu Miclaus 2022-11-15 496 eda549e2e52496 Antoniu Miclaus 2022-11-15 497 return regmap_read_poll_timeout(st->regmap, 0x0, read_val, eda549e2e52496 Antoniu Miclaus 2022-11-15 @498 !(read_val & (ADF4377_0000_SOFT_RESET_R_MSK | eda549e2e52496 Antoniu Miclaus 2022-11-15 499 ADF4377_0000_SOFT_RESET_R_MSK)), 200, 200 * 100); eda549e2e52496 Antoniu Miclaus 2022-11-15 500 } eda549e2e52496 Antoniu Miclaus 2022-11-15 501 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki --8323329-847705971-1702017377=:3559--