Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3211571pxj; Mon, 7 Jun 2021 05:18:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIDnvzPiZjU2QEljk408B8TuUwSlHJ6heQ0PwXjOnXXkzwgOmbtGlGJMqQIByPPoZqTj80 X-Received: by 2002:a17:906:b0c8:: with SMTP id bk8mr3004143ejb.412.1623068335293; Mon, 07 Jun 2021 05:18:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623068335; cv=none; d=google.com; s=arc-20160816; b=YIr53Ac+LLt0LouEDEr+PGaXFUBSXFv3u4jBZZ4c8pumCRSqIMGc+As7ScVHCHR/J2 LUpZPdl+nAdXuJKrPWmnN1MAYnedxQwBSov65ImgOxPHjuTgZjIcFtB99NWp4O00hBCr G1mmJDxyHtuoNgctgxVXmWF2ak5Me3kwCFrrtPNO65l7FzAH67qk/5x2M2b0lKjGSFs1 02YGqqC9xgSWraOg4XudrqY+QHf5Dc8IXDGBi45tQ2mcsYgOWZKGXfMpMQn+vH2aP7U9 J3tDdc0EVGw/F+ZtQA4CIrXhn7WphIViughh1/2Fbbn6wQeGJ29JlZ3RFSpKV0Os++3j pzRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=Zq9SiwPOTdGIQX56bKbS3FfAOm7ypeXyqAULT4PBuTo=; b=jsUjL02ErEH4omDeHxBJ8POet/tI56yGCRUpJsixjXvuE64AfRxQ74nKY1K0dmN446 hVabj+lZhnxblv6HUr6wZlpnueyk8ANm1ZNh3nG/dgk4enEbDZCehCgtR2IP7J1rY/gj RNMcM63Q1S8F1dTVeEbC8LgJBswBC0CNv+0cffja1BJammRSVlhM2z56x6dZGcEKe9vi 691Vv2/Jk8BbtuocLQmWdJn3L4dxQid29vWUWqUlbUxgucZBBBG0TljodE3tEkBxC59A 9GBOGm3Bp86dnnHSAfcM1XpWHpumWGFH5iyi/EyLR3kART4ATy9jXKu3wo9tj8oP9k5m IEcg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si13477368edq.499.2021.06.07.05.18.32; Mon, 07 Jun 2021 05:18:55 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbhFGMQW (ORCPT + 99 others); Mon, 7 Jun 2021 08:16:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:4140 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbhFGMQV (ORCPT ); Mon, 7 Jun 2021 08:16:21 -0400 IronPort-SDR: eTNVbHi+3BN3ottUzkKXCIaMh3SHFWpXCr6p0XmNn8fra/OAR/4Zo5H1N6oUijOn+cXOR2QIVi kuiM7EPtZDIg== X-IronPort-AV: E=McAfee;i="6200,9189,10007"; a="225943378" X-IronPort-AV: E=Sophos;i="5.83,255,1616482800"; d="scan'208";a="225943378" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 05:14:30 -0700 IronPort-SDR: 6YUEijo5gp57lt5Wt+3kLuXFJqA6hXtBsVkUnYyZhnmxNcGteF8UHyL9pRBjGi/ebyYyFJwU3j rLumhES3Cgfw== X-IronPort-AV: E=Sophos;i="5.83,255,1616482800"; d="scan'208";a="449064384" Received: from ideak-desk.fi.intel.com ([10.237.68.141]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 05:14:26 -0700 Date: Mon, 7 Jun 2021 15:14:23 +0300 From: Imre Deak To: Wan Jiabing Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Lucas De Marchi , Matt Roper , =?iso-8859-1?Q?Jos=E9?= Roberto de Souza , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Anusha Srivatsa , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/i915/display: remove duplicated argument Message-ID: <20210607121423.GB3787465@ideak-desk.fi.intel.com> References: <20210605032209.16111-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210605032209.16111-1-wanjiabing@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 05, 2021 at 11:22:07AM +0800, Wan Jiabing wrote: > Fix the following coccicheck warning: > > ./drivers/gpu/drm/i915/display/intel_display_power.c:3081:1-28: > duplicated argument to & or | > > This commit fixes duplicate argument. It might be a typo. > But what I can do is to remove it now. > > Signed-off-by: Wan Jiabing Thanks, pushed to drm-intel-next. > --- > drivers/gpu/drm/i915/display/intel_display_power.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c > index 3e1f6ec61514..4298ae684d7d 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_power.c > +++ b/drivers/gpu/drm/i915/display/intel_display_power.c > @@ -3078,7 +3078,6 @@ intel_display_power_put_mask_in_set(struct drm_i915_private *i915, > BIT_ULL(POWER_DOMAIN_PORT_DDI_C_LANES) | \ > BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_D_XELPD) | \ > BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_E_XELPD) | \ > - BIT_ULL(POWER_DOMAIN_AUX_C) | \ > BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC1) | \ > BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC2) | \ > BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC3) | \ > -- > 2.20.1 >