From patchwork Mon Jan 15 03:47:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10162963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F36CD602C2 for ; Mon, 15 Jan 2018 03:48:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE6CE2873E for ; Mon, 15 Jan 2018 03:48:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C258A2892A; Mon, 15 Jan 2018 03:48:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D25F2873E for ; Mon, 15 Jan 2018 03:48:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C2E46E03B; Mon, 15 Jan 2018 03:48:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F3676E03B for ; Mon, 15 Jan 2018 03:48:48 +0000 (UTC) Received: by mail-pg0-x241.google.com with SMTP id i196so7390534pgd.0 for ; Sun, 14 Jan 2018 19:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Vv63tW25Vg89wlut0v7MObN00rY22dKwmDikeKA33Rw=; b=MD5eErfJzltXeohtDBszB3jmzruknGUWYqi9C/h0RabuNW61vsIRwndvARXh98Arh7 UWN04Wh7lh7NEdiUIIW2c1b+EYsgTmvenVR/dZn0qk406fVZ2oyoBlSCmoNbr9AoiLSn bSsMA1HFiKPT/hXWOKObi5gGFv/mIBHWHMWk4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Vv63tW25Vg89wlut0v7MObN00rY22dKwmDikeKA33Rw=; b=kN1+3Xn7qJlbyNYUHCH8G64rzfS5jG+uXfQD2rB8g+aA2M630qQg7DIaS5kEmaiHf4 ny/EPStRehlunyjhpyCzjfS7yGs6p0nP4jirVl7Qba5Fqd+dQeQP5mKBARt9cX+vrbgN hpGcDAk2IikoED3g7zVRYy5/YAkCBp0hNKqjio7pG9scuZKeIkXb7L3iFgFzBbBdDz5c 8WcrLSknv2k9Yt4G+nWKx6vAG8J8mmV3aSZdh2DLOpOO4Hr2FXTtPvxN3vCLVFnn+Ap+ 0Y3HiIshRwz4Db4ve55PIVRa3q2UtCvEizIS1Rjom9oAoVQD8L1fayT+TyZZvFA3WLFE wJEg== X-Gm-Message-State: AKGB3mLNvbkMIqFpmGSi+L4DF3+LAb+4MKw8hwgzzyQGX0s0zllO/Zp8 imv8FmThvzpMCB+XzSJIS8tBfg== X-Google-Smtp-Source: ACJfBouDj+VQB+clO9xlQf2Ay+ff8WsF+TnLikZKHdZAc4XoRKskUB8CUiwJaq/g+YePGSaZn080hA== X-Received: by 10.99.185.4 with SMTP id z4mr25620898pge.299.1515988128498; Sun, 14 Jan 2018 19:48:48 -0800 (PST) Received: from localhost.localdomain ([104.237.91.29]) by smtp.gmail.com with ESMTPSA id t21sm35709769pfe.122.2018.01.14.19.48.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Jan 2018 19:48:47 -0800 (PST) From: Shawn Guo To: Sumit Semwal , Gustavo Padovan Subject: [PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data Date: Mon, 15 Jan 2018 11:47:59 +0800 Message-Id: <1515988079-8677-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The structure should really be sw_sync_create_fence_data rather than sw_sync_ioctl_create_fence which is the function name. Signed-off-by: Shawn Guo --- drivers/dma-buf/sw_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c index 24f83f9eeaed..7779bdbd18d1 100644 --- a/drivers/dma-buf/sw_sync.c +++ b/drivers/dma-buf/sw_sync.c @@ -43,14 +43,14 @@ * timelines. * * Fences can be created with SW_SYNC_IOC_CREATE_FENCE ioctl with struct - * sw_sync_ioctl_create_fence as parameter. + * sw_sync_create_fence_data as parameter. * * To increment the timeline counter, SW_SYNC_IOC_INC ioctl should be used * with the increment as u32. This will update the last signaled value * from the timeline and signal any fence that has a seqno smaller or equal * to it. * - * struct sw_sync_ioctl_create_fence + * struct sw_sync_create_fence_data * @value: the seqno to initialise the fence with * @name: the name of the new sync point * @fence: return the fd of the new sync_file with the created fence