Message ID | 20210115181313.3431493-16-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 92bd69c72349ebc3de1c51409e11c08d7e9e09cc |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89040jap; Fri, 15 Jan 2021 10:13:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGjnKJkXs3mjGuuzvxRggTcZFAsEZEUP450Ylikg/3h/KkASCCw7+uMyKdSYiC1VWNKMnc X-Received: by 2002:a17:90a:d24a:: with SMTP id o10mr10135289pjw.160.1610734436619; Fri, 15 Jan 2021 10:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734436; cv=none; d=google.com; s=arc-20160816; b=q0ENs7knxR21DEz1ao9/oRsRvCzDxgdfJxkL7Ayw0ZIJ1OaYhXNtvuoprDaieaHX4T Gqv+J8FiyI/SE7TzKebdA83Z2cl6QnU8ygpT7PZ+1+U5qJztg+bR4YBhaT99pKDNnQ58 InEWQ2mcl/OnWZr5waqNrrHiKwvwZ3eLKpAR68sRv1Fkg/klqsw/HJxV714H/oLgnEcJ gsF7zrrZAOzqbsdnL1hNUp5tKQNFwv09GujdvB+zaY5BGxnZRoFiHdPlDQhcE3Oloyeu EcMK2adbLKbcmA7/sxCals8hxuxxMZPuMAkcWVNNoV4xGa2CKuVL22jf3F5KTba422Tr EbTA== 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=0SDxdoE6EDIoTy/zjbRBXkSu+Zulry6EkpazEA83LD8=; b=pC3KqlyTKCddJ4LIKNQuKtlmEbhKa/YIWaBfZ7KAtMmUNmnnL+OdcpJAdDjBunvwpr taP9H+0I8z2c96hhUIUqIZBPX7bNYAzx0glF1fu5fzi/zi3rRY0IQc7FlZP9+BiTvz/A OvBCRzfg5dGCw8YwDyssruaJHurBKehw21Wx+mRsMyeVLxTZOD47HYsosI8E7WMyZv8b VDJBooHjpRat85o2PWabdLu/NuavqLTDAQfek5ftVLVxvxn4UH1EaJTiNnQiobAJ7hP5 F9M70PFc+4TBTXfIwKuwrCIAa9DWyx4IMJ6J4KKdAknn2TBcHbNNnFH+pknDOSUTzmVi 6Wgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="uF/0vIlB"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id q22si10968773pgl.28.2021.01.15.10.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="uF/0vIlB"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 30E336E47E; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id C62736E486 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:13:40 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id g10so8392548wmh.2 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:13:40 -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=J8jnXbYZh9fQLGbXGQ/O0REzwyF7YhVgi5AkTd6twPI=; b=uF/0vIlBVC846lYN4HISdxnnS7K8yJ+3K/lfoibQMwkvdkdW1pKP/jh6fQ3gVoS9DA VIwmyj5LSrRc/XtozbDaXoUExRLAfyrQOFdiV/o1k3v32UjqQXeZ02YrXYIwbJ418a7X KGMiWIg3PhKnYEnxeDp94ruSxvdzn1VRb2iUPR1NKnkGlOcnpOgbvmHn7jucnhF/CO1X Vv8mqhwmgXj78y3TC0NcSG6YV3Udw6VRK6/89Hp2/XetCnbN5nVwvc4e7racI41l8zAW Y3CFATlEdyGbecMlUCoVJ6U5yJMiFQvDwf/ziz8hJ0s/wpbJe6M9MEfGlReSz0+cFrDn q2IA== 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=J8jnXbYZh9fQLGbXGQ/O0REzwyF7YhVgi5AkTd6twPI=; b=fs4AyHGRZyRhvWdOSAXF4IWhI/Q/XTI1uuSwGh9ChEKC8MN5wdzQG5fdqdjM5/ipuH 14aj05futOEpJg+6r7hNrJK4f7uOxhkV2umBd15mRheOy1EZ1z7jEC+h8cWpsxij9+65 w+VhHeVJFy4BLnrIwm/pqj9ZGibhoqUc1U6QrN/kMy1TVxtyIWmHHgUnbir64rjIVu/1 iyRaq0MWDwLuqahlM3xjUJMU9Dg4JXnpflAWcegJodv3pGf3GUMrKlb1VzZF/c4hDi/8 l2yFaeOT05A34cxfAlUlv3qZyeBrHknj0vTbWbxL2LLLWWbPK05YIAbXkgcqka0qu39X ocjg== X-Gm-Message-State: AOAM530EJOgXZ803YGAL5QPH2zNK6ESM4X5tpLiAj0H2j9ea67Ny6pi+ pT4qkN5lDJ0RcE4i/DhU44WzHg== X-Received: by 2002:a7b:cf08:: with SMTP id l8mr10045620wmg.189.1610734419371; Fri, 15 Jan 2021 10:13:39 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:38 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 15/40] drm/gma500/gem: Add and rename some function parameter descriptions Date: Fri, 15 Jan 2021 18:12:48 +0000 Message-Id: <20210115181313.3431493-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU
|
expand
|
diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c index db827e591403c..5ef5480f999e9 100644 --- a/drivers/gpu/drm/gma500/gem.c +++ b/drivers/gpu/drm/gma500/gem.c @@ -49,6 +49,8 @@ const struct drm_gem_object_funcs psb_gem_object_funcs = { * @dev: our device * @size: the size requested * @handlep: returned handle (opaque number) + * @stolen: unused + * @align: unused * * Create a GEM object, fill in the boilerplate and attach a handle to * it so that userspace can speak about it. This does the core work @@ -97,7 +99,7 @@ int psb_gem_create(struct drm_file *file, struct drm_device *dev, u64 size, /** * psb_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 * @@ -116,7 +118,6 @@ int psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev, /** * psb_gem_fault - pagefault handler for GEM objects - * @vma: the VMA of the GEM object * @vmf: fault detail * * Invoked when a fault occurs on an mmap of a GEM managed area. GEM
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gem.c:57:5: warning: no previous prototype for ‘psb_gem_create’ [-Wmissing-prototypes] drivers/gpu/drm/gma500/gem.c:59: warning: Function parameter or member 'stolen' not described in 'psb_gem_create' drivers/gpu/drm/gma500/gem.c:59: warning: Function parameter or member 'align' not described in 'psb_gem_create' drivers/gpu/drm/gma500/gem.c:110: warning: Function parameter or member 'file' not described in 'psb_gem_dumb_create' drivers/gpu/drm/gma500/gem.c:110: warning: Excess function parameter 'drm_file' description in 'psb_gem_dumb_create' drivers/gpu/drm/gma500/gem.c:135: warning: Excess function parameter 'vma' description in 'psb_gem_fault' Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/gma500/gem.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)