Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp2901418rwe; Sun, 16 Apr 2023 07:40:43 -0700 (PDT) X-Google-Smtp-Source: AKy350ZZsjDTNvxQN5kKL4VjI1AJH7Ak9AomJWX65pus56tyeFjVPzSwMC+zregSvrmSDlcjoF1t X-Received: by 2002:a05:6a20:2591:b0:ef:1807:2df1 with SMTP id k17-20020a056a20259100b000ef18072df1mr4414624pzd.10.1681656043638; Sun, 16 Apr 2023 07:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681656043; cv=none; d=google.com; s=arc-20160816; b=U5T9gaKXcl65k2fDNEE3morceDmjug0esALAovyefT6hiUCLWPlcqe5/7XxMAm2tVK 7ul7S+rowwDLHjvXmDak3Jldl7QCgJfokmxlXZ0dD9AGDXP28rOU+jC/7LYf4J1kkEqu XPCFA1tYbjInf/4Lc055YoQM50z/z0HzGcBoMEFJ4fJuffmBofnGEMstZedMmhFSOxSu 0g5uy76uHNfA1ffxZuDfDOJTWxIAFaWD0w00JoIAUJIfyd+R4PzkfMF6SWiQU20zTp2r REoT2D0nKoklz0qxuXd3Umr2AJsi0KFtk/DZYBF92dPeDD1lWn5nWqCWtrx5r7EgFqUa R4CQ== 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=xMPCELDnxdoxMlO2oRCY/SZJwi3l+tZ/g9tsgvO1U2g=; b=ProcLcehkaYNyTYJWhadwYsu5K1Mn9EcqdMfOb7f81I2pFKXyrSwJLmXaBL8c2WOHM L2erOgGatFcOt+nwI0RA+4Pk5fb8gatMxYHccLpoc1xyYBJWTfmZrho01RejWAF2oCdw Pxv1vKuuDkYNLUoe1ieIuTgZKW/HUt1bE1JWaCYSTUE3onVrEs2dp4Acv9IorEOlJyq9 fZ2ZLfkr3n4+g63hqkkoKNlhLrnNxVCW71q3cDy9NAkofnY/sO5XAFEeg2z1uUHbqGDH ucKpPeiYx7xfs/xI91fnmgfvxVh1UwTgSykJRkAzEBdy12N/FtLIRoyYvA6V5LIubGsY iu1A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a635744000000b0050bd9c7bc1bsi8075447pgm.30.2023.04.16.07.40.32; Sun, 16 Apr 2023 07:40:43 -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 S230333AbjDPOiz (ORCPT + 99 others); Sun, 16 Apr 2023 10:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbjDPOiy (ORCPT ); Sun, 16 Apr 2023 10:38:54 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 67406BA for ; Sun, 16 Apr 2023 07:38:52 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8DxXNp6CDxkS4EdAA--.34356S3; Sun, 16 Apr 2023 22:38:50 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dxxrx5CDxkX4ApAA--.46181S2; Sun, 16 Apr 2023 22:38:49 +0800 (CST) From: Sui Jingfeng To: Sumit Semwal , Christian Konig , David Airlie , Sui Jingfeng , Li Yi Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH] dma-buf/dma-resv.c: fix a typo Date: Sun, 16 Apr 2023 22:38:49 +0800 Message-Id: <20230416143849.1142779-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Dxxrx5CDxkX4ApAA--.46181S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBjvdXoWrZw1Utw1rtry7CF15JrW3Awb_yoW3Zrg_K3 WkJrW7WayvyF17Gr4UZwn8Cry7Kay8uF18W3Z2qF9xGa43Aa45G340qrWUuFyUXw1xu393 Xr43JrWfAw4xWjkaLaAFLSUrUUUU1b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY D7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7 xvwVC2z280aVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVCY1x0267AKxVW8JVW8Jr1ln4kS 14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E87Iv 67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAq x4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r 43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF 7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxV WUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07je 0PfUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 The dma_resv_wait_timeout() function return a value greater than zero on success. Signed-off-by: Sui Jingfeng --- drivers/dma-buf/dma-resv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c index 2a594b754af1..b6f71eb00866 100644 --- a/drivers/dma-buf/dma-resv.c +++ b/drivers/dma-buf/dma-resv.c @@ -660,7 +660,7 @@ EXPORT_SYMBOL_GPL(dma_resv_get_singleton); * dma_resv_lock() already * RETURNS * Returns -ERESTARTSYS if interrupted, 0 if the wait timed out, or - * greater than zer on success. + * greater than zero on success. */ long dma_resv_wait_timeout(struct dma_resv *obj, enum dma_resv_usage usage, bool intr, unsigned long timeout) -- 2.25.1