Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1159874pxb; Fri, 13 Nov 2020 05:55:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3ifs8TwTnD2zwI8LcvmzRh1dg1ZwBA2jdlo3wz2QxZ37m1cPJsFCzAuQPHsBxvvtnRur1 X-Received: by 2002:a17:906:2742:: with SMTP id a2mr1928382ejd.219.1605275738767; Fri, 13 Nov 2020 05:55:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275738; cv=none; d=google.com; s=arc-20160816; b=Q9cAIYaml4dWlqKLAgLRBhT4s85yuPu9iLtme11ygp4Y9QpUqPTWNobM4P4FFUH8Eq dVLfrGWE2I0rSgxbPTRl8lY75692IMTwnnhAbqWLXmu5SMhiwHvIHlQ22hyP8bi3DU5G 9ajDIDthH2iaaZ7YKsIEEbLsm1/n3FFtLOnBzTTMTZKV4hEhI6Yc7i5OT6l6yZervFxH DACnvev3HlLgZHjkYyFpVi4DzVZcvaZvyRsVl+BvlTHGOMyQ7koVtfQ9QIOf3xLgdaqC 9wLYniB65kxwrPIzyp8H/AzhWVjtOrmlahtq9Uqo3ck3/MwCg8VR3rRViD5cmtZpVAlf pd5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z4Rt5MfpdBDV0pCvJqA/7OOspni5CCJQuMFleU8qAsI=; b=tPZgLBLdFVfAQsTqzKTbPr0wWEmZ441xxNkDtbGRigmhqH5I/QwTVoWWNaKyjDINHT L5Vy6WqyValJDYFW8ok3B+4YjjaOP8QQZvnJl19d3A3SzRxUB12n23Y8nzHg2SrIfGlm 45xqVStRTZsZtSePM1vKfmKi9MMAyzAK+59puOnP0an8E/X2wfByEqNdoYNDAUwaHDhX 8ptCJwuo5Xdx4muDY+Na6LT/sACJawIxC5lH0u6pZaezi89gD2LReaz9lbNQliTo+0m2 7BTyyl8RPy2EBXbkEapgOvsZQ6YpggJz8JQnovJ1TBItaZgdvyP0GozkpKWy3Ze9nxI/ WmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N+zM6zcZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si5702473eje.644.2020.11.13.05.55.14; Fri, 13 Nov 2020 05:55:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N+zM6zcZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727354AbgKMNwn (ORCPT + 99 others); Fri, 13 Nov 2020 08:52:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbgKMNuD (ORCPT ); Fri, 13 Nov 2020 08:50:03 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC8A2C0617A6 for ; Fri, 13 Nov 2020 05:50:02 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id p1so9960689wrf.12 for ; Fri, 13 Nov 2020 05:50:02 -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=z4Rt5MfpdBDV0pCvJqA/7OOspni5CCJQuMFleU8qAsI=; b=N+zM6zcZSVFZCdJrsj9mEKmy9LZp5xIJvVdJJOafLItXmWclcO1seEQot59X2vEN+w bSSFvnDESI+BXkh18u4frFboxNp/Zsh+WDRUEnVccULFIUmPkdRnIqGkBl8cWCRs7FZ0 NIZoh5uDPA5xR8R0TpAZDiJeGdaHeoOs6ny1ukNzxgV8YtJL7uaG0VJWfzf56e6qYWUc xuPAfqt3r5t9ltpEXF8RfhRyDn65i/O6VCpZmvQSiCxiLVanxYpfxCk7th1SV9qhR1mA 5vwX900qX5B5BGhC1qN/gvuOyJQnV/JkcIHm97z97SOCx/wejQBjzrUiLbQ93PyAjUIb WtSw== 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=z4Rt5MfpdBDV0pCvJqA/7OOspni5CCJQuMFleU8qAsI=; b=lF2r+f1+UwkfFua0BuxpKqDuP7AuOLODRd55Aez1zqgrOT6ItuvLQZC0VbwMVrnDM7 17LFMzkEme27c7G//pJmThP5I1q6kbfafjL49u73Tv8aQi8m4uJ26ksg611qWJXYsNu8 pcQQ30HM0EBidftJBwkU64DyIFHjQ6SVm7ilpRgxKTobe40r6XvcH8A+rkVvuPfd+gg7 +8I+yeXShO2bq93SKTis82lCzUp001qo2UXF2sw+6XGLTGZQzKwh+9vuSxM0ocR3Sl6j 7mYGVuJiXF/31CmzI1Y3YpRGqoSeUU1OfQuSC667ZxN3emIvaH2bUrlp49gXeKJYyC+8 6kXQ== X-Gm-Message-State: AOAM531/WcM8XqRieRliUB7mY0Qp5LJL88wt343YwjzKGqkLLnDNlW4M +2nHwHnghiSiQ8zs6JMCddZqrg== X-Received: by 2002:adf:ce87:: with SMTP id r7mr3568696wrn.212.1605275401516; Fri, 13 Nov 2020 05:50:01 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , Felix Kuehling , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 16/40] drm/amd/amdgpu/amdgpu_sync: Fix misnamed, missing and extra param descriptions Date: Fri, 13 Nov 2020 13:49:14 +0000 Message-Id: <20201113134938.4004947-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Function parameter or member 'f' not described in 'amdgpu_sync_get_owner' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Excess function parameter 'fence' description in 'amdgpu_sync_get_owner' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:182: warning: Excess function parameter 'adev' description in 'amdgpu_sync_vm_fence' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:203: warning: Function parameter or member 'adev' not described in 'amdgpu_sync_resv' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Felix Kuehling Cc: amd-gfx@lists.freedesktop.org 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/amd/amdgpu/amdgpu_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c index 8ea6c49529e7d..4e558632a5d2b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c @@ -78,7 +78,7 @@ static bool amdgpu_sync_same_dev(struct amdgpu_device *adev, /** * amdgpu_sync_get_owner - extract the owner of a fence * - * @fence: fence get the owner from + * @f: fence get the owner from * * Extract who originally created the fence. */ @@ -172,7 +172,6 @@ int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f) /** * amdgpu_sync_vm_fence - remember to sync to this VM fence * - * @adev: amdgpu device * @sync: sync object to add fence to * @fence: the VM fence to add * @@ -190,6 +189,7 @@ int amdgpu_sync_vm_fence(struct amdgpu_sync *sync, struct dma_fence *fence) /** * amdgpu_sync_resv - sync to a reservation object * + * @adev: amdgpu device * @sync: sync object to add fences from reservation object to * @resv: reservation object with embedded fence * @mode: how owner affects which fences we sync to -- 2.25.1