Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6144553iog; Thu, 23 Jun 2022 12:16:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sw7VPmjypuTq8DtBTNqKB8TXMdzQuq9RKILE2IUWFsD9e27aeRtZDqhRx+5BAxYUz+KIu8 X-Received: by 2002:a05:6a00:1a08:b0:510:a1db:1a91 with SMTP id g8-20020a056a001a0800b00510a1db1a91mr42069825pfv.69.1656011764889; Thu, 23 Jun 2022 12:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011764; cv=none; d=google.com; s=arc-20160816; b=nWZOY8bVFZfQ7WjD3kxBrDlAfBMdUwcGBdZiZIRPTAtQ0EaWSMLA0b8XCHNlXJ/NDg FzNscfMWdRqNtEfPBJIF4NZ4Fu4e5dHgQ+PV2VOYurllDOi5XJpp0CswqQmNihRpESID C8wnXXAwZzIBzj98FNjTe+mo0/sinG3Yymrdg+S4D3fYBLCF8jukYQ5Bc9bzwCPrSCIT vduJ70Q5BbDFj4ClWXWUUetg9EJWPF+M0WTPA5u4+LOAX7SsNg0pIY2jD1GrnNgytCIE dCXVIeA+b0HXmOnCQvzqdRVVShrS/BnA8m8Jr28Iwt7IWNAc69ofREO0Wd3d4tFtziNc KN8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=TibXQlzbuhdtX4yd5y6mmo0leG5ixEY7QDTy1F7+LB4=; b=WCSy9ssK357jDRCGttPZxNTDgtihkuM7zG6sxngiRq0Iaa+GDcduJfuoFFWrNqdoH3 5kGuYyAHE+1x3zG2fYV/i6JQDaBH+7LVQi45l+daAI5STONXNaUENsOqKR0g9VD4KcBJ Hb0JULP5nv1HSF4MfHlRPRJaplCbLelqDnHP8fE+a4kpI4X/Joy5IoR1JvXEenmmDt3R XY4sop8LSaeYR6vI4CLkdQrXs0Cu0OxLOrV8guOhFjM0+i3giBCnzI4nP8wy7RgBiNaY IjnU+UwWK9yM4MXonNoLM8Bgw5LNIGEFeI3Qe/eY1kmUJba45hacQvEnhY6cJUAiOzm9 Bjag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gc7Wx7vC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a170902dac700b001624625418dsi308283plx.597.2022.06.23.12.15.52; Thu, 23 Jun 2022 12:16:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gc7Wx7vC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233342AbiFWRUS (ORCPT + 99 others); Thu, 23 Jun 2022 13:20:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233970AbiFWRSa (ORCPT ); Thu, 23 Jun 2022 13:18:30 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89A789B550 for ; Thu, 23 Jun 2022 10:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656003624; x=1687539624; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=J9s/LpFILeLPTlseYxUrJteIVRlhiZdWHoHvHoBnIYU=; b=gc7Wx7vCmeJZE0/Wb6nF63L3okTIW8USO6hva5J5G1MY0STnW3VqVguP KtWwrAwcPEifNqPp57Zqw/gSIzuqR0xztpQ/P9YytI1eOqDJzL5gG40V/ rYDxZzJZi7VO/sf26np0Ij83r5OhD7TCLfdvfGCmDPoLBAYnyG1Ll7iQV 15fl5DQnllCAY6e1M85VVZ9zAP81FvqXQAMOsg4gcMxifXc0R44KXJYAm HXqfNgUV7Zj1giGl+EdzpEPUFH9B0dwCUQ5PrzvX87t6boWP32FrJqjDp DfCiqJrrPIXIPtMfoOZd3uUv5ngkSuEZGPT2RCVCNh96xm9SzP766QpQn w==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="279544659" X-IronPort-AV: E=Sophos;i="5.92,216,1650956400"; d="scan'208";a="279544659" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 10:00:20 -0700 X-IronPort-AV: E=Sophos;i="5.92,216,1650956400"; d="scan'208";a="834723685" Received: from anefedov-mobl.ccr.corp.intel.com (HELO localhost) ([10.252.38.20]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 10:00:15 -0700 From: Jani Nikula To: Jiang Jian , airlied@linux.ie, daniel@ffwll.ch Cc: joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tvrtko.ursulin@linux.intel.com, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiang Jian Subject: Re: [PATCH] GPU: drm: i915: drop unexpected word 'for' in comments In-Reply-To: <20220623101113.28470-1-jiangjian@cdjrlc.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20220623101113.28470-1-jiangjian@cdjrlc.com> Date: Thu, 23 Jun 2022 20:00:11 +0300 Message-ID: <871qvfnwmc.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 On Thu, 23 Jun 2022, Jiang Jian wrote: > there is an unexpected word 'for' in the comments that need to be dropped While it's also unexpected, it's really *duplicated* word. > file - drivers/gpu/drm/i915/i915_reg.h > line - 2537 > > * Please check the detailed lore in the commit message for for experimental > > changed to: > > * Please check the detailed lore in the commit message for experimental > The above is just duplication of the patch itself, and completely unnecessary. The patch subject prefix should be something like "drm/i915:" or "drm/i915/reg:". Pro-tip for figuring out good guesses of what the subject prefix should be: $ git log --since={5-year} --no-merges --pretty=format:%s -- drivers/gpu/drm/i915/i915_reg.h | sed 's/:.*//' | sort | uniq -c | sort -rn | head 312 drm/i915 113 drm/i915/icl 57 drm/i915/tgl 26 drm/i915/cnl 25 drm/i915/display 22 drm/i915/dg2 16 drm/i915/psr 14 drm/i915/gt 14 drm/i915/adl_p 12 drm/i915/dg1 The patch itself is fine, but I'm nitpicking on the commit message because I've seen lots of patches like this, with the same kind of stuff in the commit messages. BR, Jani. > Signed-off-by: Jiang Jian > --- > drivers/gpu/drm/i915/i915_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index 616164fa2e32..738c020396af 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -2534,7 +2534,7 @@ > * HDMI/DP bits are g4x+ > * > * WARNING: Bspec for hpd status bits on gen4 seems to be completely confused. > - * Please check the detailed lore in the commit message for for experimental > + * Please check the detailed lore in the commit message for experimental > * evidence. > */ > /* Bspec says GM45 should match G4X/VLV/CHV, but reality disagrees */ -- Jani Nikula, Intel Open Source Graphics Center