Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3993257pxu; Mon, 30 Nov 2020 15:09:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvmdA+9YohBifikGI0cPnkUPpJYpubu1jYgubIWxQ7Yx+P/KYsvYyCM5a2jMlrgXdkt1oU X-Received: by 2002:a17:906:604e:: with SMTP id p14mr82282ejj.543.1606777750129; Mon, 30 Nov 2020 15:09:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606777750; cv=none; d=google.com; s=arc-20160816; b=rRF29W+VyrwK80pf6XTotWPcLzKLO+mrEEKZzBi/QIXB0j+51PxSVIavOTTUxgFKGe 1MlSHyGFww8ckCsq1pThUJvBUqAUa1M+SaKSFXIHFod/3kVUeojx91yh8MJPD/q8xVFL n20/LAIfLcTMu4oZVEvSQJLOmnDM/w+H4ovylHNTERJK3/4S++4hjDbiAJ3+VchndQn8 ccgyPvYCfpAakJsTWNFgMIux/AWaM4J9roSI55qDEfTbly6J0x+vI/f07xBfXLhIsL7b i/bBEWRRBFz1OEgVUTFmDQgNF7j/WfN69zkmvOH+hDSnHsLeBFRfofNKF+f3ta9tG+Hs ouyg== 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=7EQnpqvC3hpfizVx7WNlc1o2wLOwLDyI4iu7zgo9UUQ=; b=VxlO24eJCJ4ifjPoOZvh9LnwEs0wct4vHfmh4QbrXjfiifjQ3o9wzksfdyBpGbSOrs u5xEiqrwVplwY/NkhiNhWEr54V/BSnVgpA06xc6g0HrdeI+ULmphk9Ob9sPz+AF1FRC9 NfZ5CjkAgCfbQIpGQeuYkS8DbbCkhle6uUEq3mymv+Pf5cC/iNnXGXOxPWetIokd60/D O0yMHqSTnfH9Jjy0cGv8fsLK4v1rLu8BsWa5E9M5+kMYMkg5l7AfKsrop0YSdgiBxUa+ ZtsqFo0SpZmxLi5eDEzZf3iJMWCXE1ilOz95dtru6W/XytSmShs8tSQ0VDxW825NzS1p 4vOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FTc0NENM; 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 q16si1987529ejd.199.2020.11.30.15.08.47; Mon, 30 Nov 2020 15:09:10 -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=FTc0NENM; 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 S1730417AbgK3WHi (ORCPT + 99 others); Mon, 30 Nov 2020 17:07:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730413AbgK3WHh (ORCPT ); Mon, 30 Nov 2020 17:07:37 -0500 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B5CC0613CF for ; Mon, 30 Nov 2020 14:06:51 -0800 (PST) Received: by mail-oi1-x242.google.com with SMTP id x16so147205oic.3 for ; Mon, 30 Nov 2020 14:06:51 -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=7EQnpqvC3hpfizVx7WNlc1o2wLOwLDyI4iu7zgo9UUQ=; b=FTc0NENMaLnXl0QJAv4V0k6/vQCM6vWq8NN5M6M8Ua6+HS/J9rRkOZs22P69ICi0fZ IY4kYzeJ6o2eh5RfOghvkt8xOhVFYdyErsvejxIAVBcCa0ihUsNPGCRFZgesYl8gvKQf HguB4SkoogQRWnJ5NB/nayVUVgmEFbEuNH0HyNE4plg4QBfImH8ucLbDKOgAL3sHeMsi q3kV9LSgcFz2nFxvB/IaTslZ7TLT9Xvm0FbClgZYLtsWOGdNso8xcC9IssYceekkeecf k75H2JohzSulJCJR0F0ITgJMoey6nbp4D8rgIoP24uPJxwL2a/uL2K3ijq4Jzlccz0Gs vC5A== 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=7EQnpqvC3hpfizVx7WNlc1o2wLOwLDyI4iu7zgo9UUQ=; b=fhArG9RF0N4b2y/x5OTToDTUmi69z175ZEX19ev8Dl/qChxLQphKD1jajlLj0jAR4o CyTd5664HRPGDW4E4sYyAAYclvekdsPrkiiDcWxq2g/LYJr6CY7a7AtMZ/YD87mVGzwR M27ffyhSbHNPC/hXlUCwJSDTEENXRW8tlBi+NsBdSSM/xsUSI8nNba+QqvcH2NsTmA/A NILEOByVx0yGIoIcrzRrsVP99qqGCsmRHAaEEIcAhtb2YK3gRiH30Y0Tg2KqKKcQzyIL 4EEfPkCYJw0mWGimMd54umbE+HbppoT6EVm9DXwyqT7d8j0WrfG2o9YFklbHIF0DRCdQ J+LQ== X-Gm-Message-State: AOAM533DUrvpZ2pr18YYL/qSdGQiVpi+kN1n6LSO/qopEKhtWb5rFYnY zpRXJCQ0ayW16cXTH871WZeQKeJ1JKPJ48BJooo= X-Received: by 2002:a54:4608:: with SMTP id p8mr862273oip.5.1606774011073; Mon, 30 Nov 2020 14:06:51 -0800 (PST) MIME-Version: 1.0 References: <20201124193824.1118741-1-lee.jones@linaro.org> <20201124193824.1118741-6-lee.jones@linaro.org> In-Reply-To: <20201124193824.1118741-6-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 17:06:39 -0500 Message-ID: Subject: Re: [PATCH 05/40] drm/amd/amdgpu/tonga_ih: Provide some missing descriptions for 'ih' and 'entry' To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= 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 Tue, Nov 24, 2020 at 2:44 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/tonga_ih.c:193: warning: Function parameter o= r member 'ih' not described in 'tonga_ih_get_wptr' > drivers/gpu/drm/amd/amdgpu/tonga_ih.c:225: warning: Function parameter o= r member 'ih' not described in 'tonga_ih_decode_iv' > drivers/gpu/drm/amd/amdgpu/tonga_ih.c:225: warning: Function parameter o= r member 'entry' not described in 'tonga_ih_decode_iv' > drivers/gpu/drm/amd/amdgpu/tonga_ih.c:255: warning: Function parameter o= r member 'ih' not described in 'tonga_ih_set_rptr' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c b/drivers/gpu/drm/amd/= amdgpu/tonga_ih.c > index e40140bf6699c..ce3319993b4bd 100644 > --- a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c > +++ b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c > @@ -181,6 +181,7 @@ static void tonga_ih_irq_disable(struct amdgpu_device= *adev) > * tonga_ih_get_wptr - get the IH ring buffer wptr > * > * @adev: amdgpu_device pointer > + * @ih: IH ring buffer to fetch wptr > * > * Get the IH ring buffer wptr from either the register > * or the writeback memory buffer (VI). Also check for > @@ -215,6 +216,8 @@ static u32 tonga_ih_get_wptr(struct amdgpu_device *ad= ev, > * tonga_ih_decode_iv - decode an interrupt vector > * > * @adev: amdgpu_device pointer > + * @ih: IH ring buffer to decode > + * @entry: IV entry to place decoded information into > * > * Decodes the interrupt vector at the current rptr > * position and also advance the position. > @@ -247,6 +250,7 @@ static void tonga_ih_decode_iv(struct amdgpu_device *= adev, > * tonga_ih_set_rptr - set the IH ring buffer rptr > * > * @adev: amdgpu_device pointer > + * @ih: IH ring buffer to set rptr > * > * Set the IH ring buffer rptr. > */ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel