Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1318801pxb; Fri, 13 Nov 2020 09:31:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXUWpcqWsPjxMwcCDa7OfDZrrVFnzHAZELJzSGWzbWlfhWmamWHk5NYZUv7F1JXpL2kSdQ X-Received: by 2002:aa7:c886:: with SMTP id p6mr3481971eds.352.1605288684015; Fri, 13 Nov 2020 09:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605288684; cv=none; d=google.com; s=arc-20160816; b=GswNSLzJickQiF3ffm1DCE0fyn0X4v4YtSB8T//zPgMkB54gawImQoiFJ9ZdAvvXXf lcYgwp2oMZQX9fuD9HHpSZfQluHmthb6tszkNwMYirMPsvZ+Q/eG+jl4OdfMIOziJjcr 0si5va3rtzM1jQ5AXZHEXrnik4JVERoRxFJurTtAgZ+TNmRMWaC+riOPNo5zEhwOyZgM z1gTLG4WlROQNAOzlU6AIL+9XBeE9w9IthIio4b8++yQvFE1HuzpunHvkhXQgPav+7p0 VLfp/oSQWVpdhy/wgqRQSL/IsWWvauA/8jlh46Lol1j2KeCfpv2HEXHdmMsyv8RofIhu dCxw== 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=C+0w2nBltIcPLOhtMLZ4S0PvakYggYrXZkCbBUTmbq0=; b=g4O9e2iDnr5Odlerj01v+JooxYa3ti8VYcuyRvdtUF6hyaqLZ7popkCRqMuktYVccP lu/Pxq3q+z0WkhflL0dmziDmWqvw3utc1WGvH/dcz2HFoKn4oKf5oL41ZfGgkSGvOZGB Zsq86zFbLpQvMSorwXelMfh5GEDn+KYdawB2ZLWA5ibfJ4SXxc8eK1Z2IPRGq1zQPDRQ 2TJwQH4sseJwYbQ45GLiez5yYJBB15ikPMwiFkCWwNz77XPfqGqSkp5guLpfqlu/Wf1o /raZCONnXXJWU+hb+DdE+s48QYgKLoofpYafeY8RaCpf1M5/SMzgSyhDzQRsxR48ckH0 owtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GrHaeW1p; 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 t16si8760393edi.258.2020.11.13.09.31.00; Fri, 13 Nov 2020 09:31:24 -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=GrHaeW1p; 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 S1726236AbgKMR2y (ORCPT + 99 others); Fri, 13 Nov 2020 12:28:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbgKMR2y (ORCPT ); Fri, 13 Nov 2020 12:28:54 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A792CC0613D1 for ; Fri, 13 Nov 2020 09:28:53 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id c17so10732892wrc.11 for ; Fri, 13 Nov 2020 09:28:53 -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=C+0w2nBltIcPLOhtMLZ4S0PvakYggYrXZkCbBUTmbq0=; b=GrHaeW1ppx0bLiAObJsVnHiwxGBLMJkGdYRyPjzHR3pdOm7zuDvCsQJsahDDewdjr+ iIQsy4tiGdL2sWEGJQdzgG002YgyWqyzpIdIxRwgNzz6y47GJVlsawkrckGP+I+qXOiF 2f1y+AdYnM9scoXNsdfACnAW48roo5y4YgXQ9Oadcip29U1tcCwdfGBVqjN/YeXPWP0O ewwir+MKbyc1JHzUnbYoVyPjiZDY1TP3sYtSYgImzQCfm6HnDv+dy1HpthyRyBOJ43ZU CCFk0qeFT1hSUW2R1NhwzwwOUrg4QiV2t47PPDjMamatmBF12DxC4/YRhbMCIYv58W/0 n4Qw== 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=C+0w2nBltIcPLOhtMLZ4S0PvakYggYrXZkCbBUTmbq0=; b=RqEjm1rZDiCYJLlKfPnjCwp1P1s5GJB3jPdrgrB6Cwoh0OyUnlIxFp8j6lbnOBLF7C b/Q8VdeB9xX7Nn/QgiUu5P1e+qxpEfzqJZWSEBpEZSbLsodKGyCTGMLAY0D8LD0OVAUQ a79xi/wGr1tgEXRzcaGI6/ymEQXolkqyGMsYgivt+aj5sbIw0CSB4tzB5c/8bpf0+yqh mb9/4DfyMOFhdnjVh6obo48Wh3VO4NQw8/yEylvuV9d4IDDrt/Cqxa7zjp6gxfzr3qyy uJ1i1WS935i8VsPTZXbz9Tmf7Qab2pm8aHQH2EUayi2/Wg/R27IceTldnEsE/vD2+AKA MWTg== X-Gm-Message-State: AOAM532W1BU4Qotuqb1JshluPe9e6ld0PzfFc/83EffLK9cincVj5ffn d6dtNvlZd8KovPqcbBRsWobtJv52I/jchpDh/jY= X-Received: by 2002:adf:e9c9:: with SMTP id l9mr5064718wrn.124.1605288527583; Fri, 13 Nov 2020 09:28:47 -0800 (PST) MIME-Version: 1.0 References: <20201113134938.4004947-1-lee.jones@linaro.org> <20201113134938.4004947-27-lee.jones@linaro.org> In-Reply-To: <20201113134938.4004947-27-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 13 Nov 2020 12:28:36 -0500 Message-ID: Subject: Re: [PATCH 26/40] drm/amd/amdgpu/amdgpu_gmc: Demote one and fix another function header 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 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_gmc.c:69: warning: Function parameter = or member 'bo' not described in 'amdgpu_gmc_pd_addr' > drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Function parameter= or member 'bo' not described in 'amdgpu_gmc_agp_addr' > drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Excess function pa= rameter 'tbo' description in 'amdgpu_gmc_agp_addr' > > 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/amdgpu_gmc.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/am= d/amdgpu/amdgpu_gmc.c > index 056cb87d09ea3..fede84509dbca 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c > @@ -61,9 +61,8 @@ void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, in= t level, > amdgpu_gmc_get_vm_pde(adev, level, addr, flags); > } > > -/** > +/* > * amdgpu_gmc_pd_addr - return the address of the root directory > - * > */ > uint64_t amdgpu_gmc_pd_addr(struct amdgpu_bo *bo) > { > @@ -112,7 +111,7 @@ int amdgpu_gmc_set_pte_pde(struct amdgpu_device *adev= , void *cpu_pt_addr, > /** > * amdgpu_gmc_agp_addr - return the address in the AGP address space > * > - * @tbo: TTM BO which needs the address, must be in GTT domain > + * @bo: TTM BO which needs the address, must be in GTT domain > * > * Tries to figure out how to access the BO through the AGP aperture. Re= turns > * AMDGPU_BO_INVALID_OFFSET if that is not possible. > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel