Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp690177ybx; Fri, 1 Nov 2019 09:40:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRMoeSVDuv9TjNZe1M5RSFjoTIA0pxj+O6bJhmmhcCv5NkVf3p3i67XMaM/5wVLrVFX2Sj X-Received: by 2002:aa7:c943:: with SMTP id h3mr2838956edt.207.1572626458803; Fri, 01 Nov 2019 09:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572626458; cv=none; d=google.com; s=arc-20160816; b=Dqist38Za+pjzFH3h0RSzpifbMi5Au+d+t7LAMi4zTUDFgD3m97lQV3vNeNDdBNnQS KShInSyY8tUC4dwAhEWo9OmBAQC9dzJjM+PW6czgAWkSu6gTHH9SwSQftDu92eMHDBwv 91AweevQ85aJKO1yoVZmbRNFi7lVkP5HixoMlC8f/+0iaYSrxqYuB9Xlg5cGsk+fGWJL 9DlFp5OdpcN1MSJnV6ovc0XSvczS4LlU65XQMqbVFVuHOnmyHDjU97SYwee5bsRh7/hw DOFIfnrIAUMQgSE336NCaVgEAXXwZePLQbyYgHBUar84qMwJSrAgYwCPGaDH+0jK1iiX FXhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=Jop3Dux9Tb3Ov/yAM9BwP8Zp0TbIeSOkimu79QY77es=; b=oMa+6PskylLR7pOQiZK8gvWTJmDoi0pPrR3GL72KzeQfecq+aH5wKAVf5F9/iRzKDY e9ERD2FfKVF1sVwgZE06o7/obCFNjSQqT/fM+h+xTjmiG6ux8u32WwSLScRZ+Gdzrm2I foOj4cv7fRBzNY3UIdcWMKD/OQhVUvdosGYfRWHnjFi0yUH/S8O6540oCTDGLpBBSA6l xE6RmeUHnWYlPRAO4NGKq1oEtiejYw+CzdqOKFaR+WmVXHM/O5UVoDCPDaOLXV6+1ldu jXw7/cU7lFJddhA7ISsWHPMRUx64OO+Gl8SUgzuM/T6jsOs37GfFvb5wnN4T2WJPvlTw zvZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nmLI6Xfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v13si1022439eda.131.2019.11.01.09.40.35; Fri, 01 Nov 2019 09:40:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nmLI6Xfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728278AbfKAQjD (ORCPT + 99 others); Fri, 1 Nov 2019 12:39:03 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:39826 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727426AbfKAQjD (ORCPT ); Fri, 1 Nov 2019 12:39:03 -0400 Received: by mail-pl1-f196.google.com with SMTP id t12so4605843plo.6 for ; Fri, 01 Nov 2019 09:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=Jop3Dux9Tb3Ov/yAM9BwP8Zp0TbIeSOkimu79QY77es=; b=nmLI6Xfp4DCOu0L6Y0a6idgMpzE/ZCS6AXaU1AX1lBJkSSFLMJJMyEXVX43sofP8BM jpb6lCY0BXFwGWAUBFoseAhpp0yqARTfCsjnqJA9xYnkS6S4ljXOCZi8VT3nbPgFaB+T oaNDXQZ3C6efLroLoE88iCbEW3/60zoCWd7FzL6fpipnd5Z3qm7QW9X3sxlilgIw8TCQ bPkHhNVix3KT43TwaGSq5ed93dFCXDBNHyT8FnTLUNVak1Kbe7sJJnT2r4TUQOPyH4k/ rCMS4rR9q2RQWxq2qxEPIWyLtpPP5PK7bDvzBDGOOpf2imwnhteMOjPbLHLvUefhj0XP oa+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=Jop3Dux9Tb3Ov/yAM9BwP8Zp0TbIeSOkimu79QY77es=; b=dnH7MeJhrlR0J0V6AlmPpnELMTPeD9KRFqLP9gCcVBh5EchnlHNVK8jC1y9KLMOQRt Yc6rtXvV1K/h6GKkty3476AhnEsIpulXSp+IUWKN6PCIt9/psU7v3f6i5X8fBQikNvfZ 68fWtoTfnTmotKM198Z8QoXSajJIm+Clh3YbHcb6m6vTJ5cOltsVtdv956kLRfoQ9bnp naKjF046/iHoZXnE93m3k1Ed8rM/XnH5A03LBMHEavg76RAlkjGj+1MY7ldPP/NMnXOR jUlhsYbe0aPyLkQXDpaJk9lk8YvQsdmrutoVUdkezdkAq1Yi+30rHh4UnHOQfcywajQH nHbg== X-Gm-Message-State: APjAAAUjZGt3Au9VQPkYEk02STz3Q5828n7kCpFp9u43ERGbOs6uqZOc 67UOud8l/kdzL93Nhat1ucH6ULgZvK39wQ== X-Received: by 2002:a17:902:161:: with SMTP id 88mr12645499plb.253.1572626341042; Fri, 01 Nov 2019 09:39:01 -0700 (PDT) Received: from localhost ([2402:3a80:1386:1fa1:cbdc:7851:d398:f27c]) by smtp.gmail.com with ESMTPSA id m15sm6319676pgv.58.2019.11.01.09.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 09:39:00 -0700 (PDT) Date: Fri, 1 Nov 2019 22:08:56 +0530 From: Jaskaran Singh To: linux-kernel@vger.kernel.org Cc: linux-kernel-mentees@lists.linuxfoundation.org, alexander.deucher@amd.com, christian.koenig@amd.com, David1.Zhou@amd.com, airlied@linux.ie, daniel@ffwll.ch, Felix.Kuehling@amd.com, ray.huang@amd.com Subject: [PATCH] drivers: gpu: drm: amd: amdgpu: Add @level to amdgpu_vm_bo_param documentation Message-ID: <20191101163856.GA13800@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation for this function is missing the function parameter "level", so add it. This fixes the following warning: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:821: warning: Function parameter or member 'level' not described in 'amdgpu_vm_bo_param' Signed-off-by: Jaskaran Singh --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 5251352f5922..6f6a9be11d84 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -813,6 +813,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vm: requesting vm + * @level: VMPT level * @bp: resulting BO allocation parameters */ static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, -- 2.21.0