Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1311932pxb; Fri, 13 Nov 2020 09:21:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgs981mTASwS+VAyTMOk0O5VdrtfW+iBwddCUbmps8NwZcSi/SYKqzfF5Cue8+/ThkG7at X-Received: by 2002:a17:906:1352:: with SMTP id x18mr2872326ejb.476.1605288114085; Fri, 13 Nov 2020 09:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605288114; cv=none; d=google.com; s=arc-20160816; b=II1AiQQfSdPweEDZ6jJfLcEC0XGE5xbrsYBksNDRvN6SVUiM99ZhHgmjEmrks9+KcT ekXtkJoAInn4/j7HYYNXNoIn2WBaw8qxq1zLUjhjNTtbdEnGQ5At7GZ8mU5ZGMw/0pdf +SsXp770cx1ZwI8yZT0u0vw5CysU2l7mvlzmvFb6N7Xsiyn/25PFuyKBtV/DGBRUcYeu /syrKvrtYv80pVsCBaAWlFFTBcyLQFFxs13ClFmFpKa7z3IPW41TKcAfXSn6hMQ+0Vb/ SRpvrSCzfjzdlinzARfK8jnDom9bp5770/0L9FPVSaC+20YC6bUVp1PKqhJWpA9mayvl P86Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Odh9S4GXnjRv304GJfgc5XVM032BtmrndNkaL6PWoQQ=; b=D/EOKKbrucgNw0Kp043x6fo/LbFPEFSFR43QBLPiC3UWB9uV6e7Evulz5IJzYOxJuh Ens7+So4QUy/6IppfKD1ya4FEpykBRp/Bf22+QEINZ5K4CSIgn66M1SoANDb0GQof0WJ nearmsa89kmkcuvC7z+cwn5zlkiHkV/NdNNABCeN6Kv6/g91gA0QGZ8mo1ce3Z7KtzYX cpOF2zaQ/XAxXOurL++YppBrLTY2TQ28Fz2jYVKW9lseHptcQrf48EyzVryb/Di/6zzT dHaLj4HZ8GJqDvIX29N+hm4pstrdmthcz/Wlfcp7+vHPxEd7ZyZEshv1lTPXcyFj2bkI RtLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="dqygrZ/7"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si7043216edn.589.2020.11.13.09.21.29; Fri, 13 Nov 2020 09:21:54 -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=@gmail.com header.s=20161025 header.b="dqygrZ/7"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbgKMRSt (ORCPT + 99 others); Fri, 13 Nov 2020 12:18:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbgKMRSt (ORCPT ); Fri, 13 Nov 2020 12:18:49 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C8CBC0613D1; Fri, 13 Nov 2020 09:19:03 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id h62so9224465wme.3; Fri, 13 Nov 2020 09:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Odh9S4GXnjRv304GJfgc5XVM032BtmrndNkaL6PWoQQ=; b=dqygrZ/7I0MeF6Ka1mhBuF0NzD/2dnGxkk/WTlSrEEOIvguKpPTJBZDqLC8jLJfGmz EVAStBt3qg27yKw2w1Evwiql94xjLxNxiy42VRxMemRbWkwZ4Qu3C9Uy2PnMWhfZeeEz t2HMTPLlinMl0+bN6lh5JJSxojtIjUyLLm6UmBZSs0acFBqae27wst1O8RLSGLS+h503 XPR2pccjzGWAEONrr+OsEvbgSvScNsAYdX9WsVksKIAEkErcP+nYMhp7JUvgNwLsB384 c9Qh3/DeGojEtsP8DIP+fboxRjd5CPU+tc15b1ZlMtxWyw5kZKhspxW6j4l8JJdz89SJ ZYOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Odh9S4GXnjRv304GJfgc5XVM032BtmrndNkaL6PWoQQ=; b=DJHGPLP79Ze0I8WD3bJBkwF7Rq4inYLNs6n4/RhEPY94Jvj9VE/QrhCfaun8qhCtSD y0Q2yfS85CQL2GXfb10dmwQEL8L4W9XfH5PIVnJnSJro/xteMWHlg7R2U9divUk36IiY 2FKevFRreM240FVBtpSsgNzd4w61hegjemLqIq02vpiBLYkBrhOvSJy/rymoMvOD1jRR zFUjWMEPbvsoGpX8pgWJLInYt4OBAyh7D/2W1OluSLvwFPKk+x/cMVIHKG7UZltms4RE JlV4bdAE4chNOrhpHVWtuVVvwsIehVSew5ikQrxyLAQwEZzYB3XOZND+YhEDfeTZVxyD sHRw== X-Gm-Message-State: AOAM530IIZshEGZT1pVRbqn3EEfdw0MVU2bNcJN+YjypK4I2iPqIkwQO Bp054wd59XO+MWH+qjcFEKHvUOwjwNcqlcl7dyQ= X-Received: by 2002:a7b:c157:: with SMTP id z23mr3502636wmi.70.1605287936955; Fri, 13 Nov 2020 09:18:56 -0800 (PST) MIME-Version: 1.0 References: <20201113134938.4004947-1-lee.jones@linaro.org> <20201113134938.4004947-17-lee.jones@linaro.org> In-Reply-To: <20201113134938.4004947-17-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 13 Nov 2020 12:18:45 -0500 Message-ID: Subject: Re: [PATCH 16/40] drm/amd/amdgpu/amdgpu_sync: Fix misnamed, missing and extra param descriptions To: Lee Jones Cc: David Airlie , Felix Kuehling , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , linux-media Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 8:50 AM Lee Jones wrote: > > Fixes the following W=3D1 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 pa= rameter 'fence' description in 'amdgpu_sync_get_owner' > drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:182: warning: Excess function p= arameter 'adev' description in 'amdgpu_sync_vm_fence' > drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:203: warning: Function paramete= r or member 'adev' not described in 'amdgpu_sync_resv' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > 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 Applied. Thanks! Alex > --- > 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/a= md/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, struc= t 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, st= ruct 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 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel