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: 10162965 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 77E23602C2 for ; Mon, 15 Jan 2018 03:48:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 600F62870D for ; Mon, 15 Jan 2018 03:48:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54AC52873E; Mon, 15 Jan 2018 03:48:57 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02DE22870D for ; Mon, 15 Jan 2018 03:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbeAODst (ORCPT ); Sun, 14 Jan 2018 22:48:49 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:47046 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752489AbeAODst (ORCPT ); Sun, 14 Jan 2018 22:48:49 -0500 Received: by mail-pg0-f68.google.com with SMTP id s9so5557135pgq.13 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=Ucw4vmb3iHKh+VBWzN8Yrt7tZ9iA+CaBPOwEf1drBauYMhvbH2JUTN3CtLgxxf9QBF iPxJhd8zfLXeoceve/39i8MaqKn7fhGiMleIsjtWkuKPKo6CzLQjees4rPS6LCJrmjFL wsPbIHQSz2zaP70Da/cwC5AhpJGzj5BMoIhC0bVg68XJYdYuFO/7bxQMeI6e0gn5QX8U 4iFvBXHOirE78gMvOE48t0seO+CeezAfyqdrtdnxAva/A6SOIP79Hb4Dq+bSldC3+JqI rGoml2aMtsxZeYY2EJe+qthh4OiF995DSjg0RBrrKTw8jZmHL+tj6yDwgZQIwBPkK7Qa PnpA== X-Gm-Message-State: AKGB3mJcB4JESJu5emrOq/XaCxo64e5aJGCSA9fq/U/2GkmwkhgoVU2N nEb3OCRB+YU8g4c90aEtT7fmhEQnySg= 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 Cc: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, Shawn Guo 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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