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: 124466 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp542218lje; Sun, 14 Jan 2018 19:48:51 -0800 (PST) X-Google-Smtp-Source: ACJfBovkm3SbwsiuixptjrojmKjmbPybDxU0pj4hUj8mVs8Tf8tZnFZTu+edsvX67dRihG6kIcuK X-Received: by 10.98.37.198 with SMTP id l189mr30096269pfl.114.1515988131810; Sun, 14 Jan 2018 19:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515988131; cv=none; d=google.com; s=arc-20160816; b=075ZJ0roqktyvDaUgvlgcqdUnkkX2XFVD/ivXtodNM5mq0S5njGbQS+H6VLSx7N1qn nywmi+sKhH55ESQ4BhxL56Wofi70IdF8Z0NVI5n+JtGsGk2wp/pfY3mCYsLZ/5M1xNeW FJS0aXCr4ihzKc0jVvRaoTMk++TodNn2yLEmjJERYr97LeTzEMwJqSYNDv5PBJInWYbV 5qV+Npu2iFfE2pN+X33cOd0veXdmd+Myn25FSEaQ0faacsv3ROlFsm0XzimI38cja/YW Ge5MUIFZj+WCxigR0RqlJxVOstU9zrWesv1ktZ8YGlKhwFiVQfBe9OS5Ul8HwzJMf9EN 1i2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:message-id:date:subject:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=3gtpntqfLyoIpj2vMmTbs9XxnyiIqOdExLUMOlIZr48=; b=Ai4kYRUWQl0AhiXk3PR6utv5NAFFMt1qDDHKmVJcemDymvPUVOySI976YAvnQDjz6S prTDazC6R1YT3t8ehGkHKI65o+XRAJejPUjCFtwpOeIbKqoevfpwHXUMwg9rufrj8sOn 2A0tjnn4KWKQWd97ZRkp74c0hgkYIoHa13mUtwvuSfL3p+TS3J40S1ZAl/TeCRuwodXT KGJLq5DrZvPF8V6oxkQ4a2jMACYnfJLJSVzIrEY95EMXJxmPsgYezUHAQHrBKY6VtFCd hRoArVoyMVIm2zORfbXTZ/4TQah3MW7+wiTknHcliO8KbfkCR8kEm0QAuFkFimmHNQqq U5tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MD5eErfJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r19si11659304pgn.85.2018.01.14.19.48.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Jan 2018 19:48:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MD5eErfJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-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" 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