From patchwork Sat May 20 12:12:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng <15330273260@189.cn> X-Patchwork-Id: 96771 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp327288vqo; Sat, 20 May 2023 05:20:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oOYZHWAk0rCKCkhV66duo0cIkbsCwbIE1eMoqVRpztVyuIcW+vxFSVigGrHiclLrp4lsB X-Received: by 2002:a05:6a00:1a46:b0:64d:1451:8224 with SMTP id h6-20020a056a001a4600b0064d14518224mr6684745pfv.22.1684585228040; Sat, 20 May 2023 05:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684585228; cv=none; d=google.com; s=arc-20160816; b=t8D04vJJ58l/gzTy23nHJhK63tgLbZtxpaBwxecgKWRYro+ieFIi5RuEtIVyb387fk aiQ1ZlrPweQXTWCer+ZB8bqjC+PwsmicMSErELSfCuBvaZDYwenVfCI11cVqVy2aqjdI KVG7HaPYebYtBsOb/5H2fMdSfpTcifN5cmgGRx2fnYNrHEIzJ97R2gNi3lCwa7UyqJjv rxc/hO1/Kwcf3gURf5nP4QjdVRMODdXQtUa/P2u3fhVhb6JFgU4Ff+TlDfWz63Fz04QV QxyGkEUrWiVi13vPlPHB78KiXTQZJvNO4G3OhlNfTUjSZ/1y1g7I4VdkOnBB9SCMoV2M 1Esg== 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:sender:hmm_source_type :hmm_attache_num:hmm_source_ip; bh=QH9bKjg8eawN5mcYps5MOo6hjOaLLgld9PQhnbVp+hk=; b=TLP2Lh4/t3Jpb2iArmTSoNqrUlLFpEliJ7lWdzG7TqExiOGqKeFvIHDOrkK63rXYvX xS0wT2jRoSWV58l6YcyQOMbKTGfDmri6Nmd4VJqAU25LkZWBrNlDChtun65hKGFtK0KY dndObM6DgDiumzfUwQwnoxoIU0MEkLGMi3SnaGl8Z7szG4QNUIuSylvsQ9ELJcBlS0ug jrceWMSoWvXy0Rq2v4GJZnms4ltWB73v/pevd3oW9k0Lu01j02fkYYTHmwdSzxrUq/NL ohtakRZ9BuLtiXFEzI7K97viPdPEF13hmPmdkGjOuYS/NvyPj/f2ZZG2CQrhhVh/KBzI sa8Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020aa79736000000b00645e8c9e27esi1417762pfg.386.2023.05.20.05.20.16; Sat, 20 May 2023 05:20:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbjETMMK (ORCPT + 99 others); Sat, 20 May 2023 08:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjETMMI (ORCPT ); Sat, 20 May 2023 08:12:08 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E3B9E1 for ; Sat, 20 May 2023 05:12:07 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.43:60862.2032723498 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.43]) by 189.cn (HERMES) with SMTP id C7EB01002B1; Sat, 20 May 2023 20:12:04 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-7vx9t with ESMTP id c7a32f856fc44fa5b18de09dc2d1b278 for mripard@kernel.org; Sat, 20 May 2023 20:12:05 CST X-Transaction-ID: c7a32f856fc44fa5b18de09dc2d1b278 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn From: Sui Jingfeng <15330273260@189.cn> To: Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sui Jingfeng , Li Yi Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH] drm/drm_device.h: fix a typo Date: Sat, 20 May 2023 20:12:01 +0800 Message-Id: <20230520121201.332785-1-15330273260@189.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766415640007305469?= X-GMAIL-MSGID: =?utf-8?q?1766415640007305469?= From: Sui Jingfeng Replace it with if Signed-off-by: Sui Jingfeng --- include/drm/drm_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h index 7cf4afae2e79..8e377857fb01 100644 --- a/include/drm/drm_device.h +++ b/include/drm/drm_device.h @@ -211,7 +211,7 @@ struct drm_device { * refcount drops to zero, as opposed to via the vblank disable * timer. * - * This can be set to true it the hardware has a working vblank counter + * This can be set to true if the hardware has a working vblank counter * with high-precision timestamping (otherwise there are races) and the * driver uses drm_crtc_vblank_on() and drm_crtc_vblank_off() * appropriately. See also @max_vblank_count and