From patchwork Fri Nov 6 21:49:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320858 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1657261ilc; Fri, 6 Nov 2020 13:50:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGdHlWRSw2avxByDieqtsQPBJTZxm2hnXqk/1H90lULliiY4kqLu0+MphgDgV494MTvIam X-Received: by 2002:a17:90a:ea93:: with SMTP id h19mr1650460pjz.107.1604699431394; Fri, 06 Nov 2020 13:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604699431; cv=none; d=google.com; s=arc-20160816; b=00+kPOUPrXZ97br6o6V0Cj2C62i7fmfA4G304vhT9+Q/f8yhmHO+tcBWYXAXmngNi3 1GNfaPSMplKcTLudR5J96rDIwZu1oJXt8MFtIVZTljgDUSIZTr67GgJQu1iU3lrPx/ik q127CidUEJMrJmFxQr7F6CD6YMuLeQiIRPvLmNuDCVv7+k7VFWGmS5nbn3ICgqMR9ts0 CMs2jGh9iKtoz5etHXPdGQwai0CAiQs5GTsLEqgZ1+f0hHpx1WrYe0Ketn5WVik1dQYc xI3pp5hwQZBGMgI8xsnPUdbYtiu8U7i9fXBBrXGA38yM+7haaDF9ve3pvKktiwJiw9Ze P0Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=nLhC2MYKjJUPQABNWSZayTOp++SvTIq2soqVOb6tw+A=; b=q4/Br+IA4Td+C1HCWaOEZZ6hg5zoezPYiZ4M9aJdxo/e7t+jhVboz7hrauiYhuNR0D UV9dTlZRx1X5pWJydSohTRFG6FEPG8Ir+EA0kzp+yKao5dSTROd+5FDR2LjYXQCb4siq T5FRIqtRmNms1DjDKO7w/Na+9p8W1W9lmIxsf1JV0UhGHzZDg4FjqtLKOSQ47TQt440C ZhAEIk5EhNzBJd7CVFKIH/uaMu5g9+0uCQXxA+o/wK9balDCpVdTnS3+MBTEemdZ/emD zdZzcSowIQbw0OWLV+njopNhv/w7RtH10zPMUvBraQ4FNJcECZf2BpkiNMV0IM/V2O1n AUBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=u2YdzXP+; 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 w12si2138410pgh.491.2020.11.06.13.50.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:50:31 -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=u2YdzXP+; 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 2ACAD6EB38; Fri, 6 Nov 2020 21:50:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id C616F6EB25 for ; Fri, 6 Nov 2020 21:50:04 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id 23so1771690wmg.1 for ; Fri, 06 Nov 2020 13:50:04 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=socaU7um35iwEdYbuZIG6DpwnbxHw+sI5ykPEkbUzts=; b=u2YdzXP+cI8hNzxPMwK6P2NcmDOFEzfBJQ1EpULD/0QTAzDAFswU3D9HeqnrXDaHgs Oy1MEtKUiI0ihnz/ecIt2Zgh/i8gi71GIO72wLjJAI/LL7YwzoMcf0+q+tmjnKo6QcuJ +Pey6urIMQgILLkxbg12Gxzk65TaqpK+n5BAvblzKUfHnkTnovij7Oz3MZsQst54SD4J nN9l+QaZBIpPJG2iHMDHMANkmJHJXM/PXJq3dYk1iUFhneAtRGIYLAUkr2iWoOZDT5V0 /pv6XxQ+ZFkcmR/MEtxE2C/os+HjFieodE3x8YaO2IXZw4PxzJnvCd0D5EwooPWjpxl5 FXig== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=socaU7um35iwEdYbuZIG6DpwnbxHw+sI5ykPEkbUzts=; b=sgBkDvqx2yDds+KjxCqLYcAdgpH4yGp0rnYW/hLf1vAHtZCrJvOWzCBPSwful1LFVI JIWTw49sdIi5q/gq95RBDLA61n8YTHtRc13VQqG01N/8WBqIlHmuo6218toKMHgLVEjB r7XaZhBH3qbl9IpP0XpYsEGpuB+/jOV3ng8LVwzvWshHxTqrjfzfnAhEdetPC9nAnV20 mf8w5jdbQYTwnM3hOixrnC+2GcaDIsoqxJ/bxjg8ijK4geNBA7AW9jdvfW8MgkN3sqGF Nxigp27vcJPlSn2z0k9E2U++NH7Nd7YviOSGUR014leEEoUyCI6HUftZQkbgKl7fyx3C +xgA== X-Gm-Message-State: AOAM531TA1sPqkV8Bf6SkLxYS6hI5t+KiAhMorFkHAgdcgp4klwSCS6b C+z1SZFqfLhQiYT5IoauDh36Yg== X-Received: by 2002:a05:600c:210a:: with SMTP id u10mr1644995wml.98.1604699403507; Fri, 06 Nov 2020 13:50:03 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id t199sm3981084wmt.46.2020.11.06.13.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:50:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/19] drm/omapdrm/omap_gem: Fix misnamed and missing parameter descriptions Date: Fri, 6 Nov 2020 21:49:38 +0000 Message-Id: <20201106214949.2042120-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106214949.2042120-1-lee.jones@linaro.org> References: <20201106214949.2042120-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Tomi Valkeinen , Rob Clark , =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/omapdrm/omap_gem.c:593: warning: Function parameter or member 'file' not described in 'omap_gem_dumb_create' drivers/gpu/drm/omapdrm/omap_gem.c:593: warning: Excess function parameter 'drm_file' description in 'omap_gem_dumb_create' drivers/gpu/drm/omapdrm/omap_gem.c:619: warning: Function parameter or member 'offset' not described in 'omap_gem_dumb_map_offset' Cc: Tomi Valkeinen Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/omapdrm/omap_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c index d8e09792793ab..0e5adfaae6455 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem.c +++ b/drivers/gpu/drm/omapdrm/omap_gem.c @@ -580,7 +580,7 @@ int omap_gem_mmap_obj(struct drm_gem_object *obj, /** * omap_gem_dumb_create - create a dumb buffer - * @drm_file: our client file + * @file: our client file * @dev: our device * @args: the requested arguments copied from userspace * @@ -610,6 +610,7 @@ int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev, * @file: our drm client file * @dev: drm device * @handle: GEM handle to the object (from dumb_create) + * @offset: memory map offset placeholder * * Do the necessary setup to allow the mapping of the frame buffer * into user memory. We don't have to do much here at the moment.