Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1883458pxj; Sun, 9 May 2021 07:54:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoWCWi5OivQvVO+rOC0eRU1gM1XE5ZelxNrycWQzX81ayRvGfFdPVL8HB8ZP7D3D7mVXtY X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr24427541edt.17.1620572076349; Sun, 09 May 2021 07:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620572076; cv=none; d=google.com; s=arc-20160816; b=kyhM5+QGtVG6LarwyeGqRW14zQDZk0JUZhlYDh4x+g61l4E26FVYyWag4Q0mCuD4cx +vSK//woiPwNVEN91NqGXcucknanjzJwAoG+qXjF9Ukx+neSq5jqWZO7cshijWFj6j1x Ke1OzAVWg0BTD6FxCsCWpdoOH57osOTM6HbmDKLW4PC+dSHanEX4B7YkXqS+VvFM5a9F Tt4KzCooBqKMIo0IBcA/GySEEFLyLAVvuYP7H5mU3pFjZ2gLN11Mq5R88VZMpOq94SMw TJo50ObofWpBdrdXT2jtK5Zy57xheDU5SM9XhC5P8+8zXtyY0ZYZSk7CeEwqDs01Sv22 CPPA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=bz8P1nZoUMT1v+PZjFbkPen/qOCExDvSHfDWKtBldgY=; b=fKgDi+ObPYkuZdBqN8P9BgbpLn+fUixphYMurNCoUMpg/1HBoBrcXznorBjxYS2CAr 5uLvFh1TsyvuSvjUKGl6HoPa/SCCUK3OzBBw8cA352/XDH1QEUqogGW9SsYsx0DUfL7X vOT+AZpPDcpvl9EkXQnkyv7sei72fNxM5dq8onfKLIITvLJ+5ZSe0wYRsiU7OV++v5kZ Ri5QM1p3HqbmtTlm3ZA63eHXcQE5AcpwqyTsahcK89tY7ckxG434Y4u0uY+wXW6OBjc0 EcsTG1S03CYtKTCNKYeEp7UV/y8OPegdHcroCV5u5U37eExkhELccHrQYsr7QsNKUAL/ ZLgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="k/Efj0Vx"; 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 v18si8182675ejc.691.2021.05.09.07.54.12; Sun, 09 May 2021 07:54:36 -0700 (PDT) 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="k/Efj0Vx"; 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 S229679AbhEIOvr (ORCPT + 99 others); Sun, 9 May 2021 10:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbhEIOvp (ORCPT ); Sun, 9 May 2021 10:51:45 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA7D2C061573; Sun, 9 May 2021 07:50:40 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id k19so11879395pfu.5; Sun, 09 May 2021 07:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bz8P1nZoUMT1v+PZjFbkPen/qOCExDvSHfDWKtBldgY=; b=k/Efj0VxOLnEitzgW/jLeQUTvNCDM1rnJkA1jWgkvJx+ic7PPM1mFNamQy/29LQiBb 6S0WQjY5cEvp0fgqqFNO5Xpj30M0Sl1MQL2do3pekttEaR62JYdXpxCYiS/ZjZSl0gnC Wa+Ykz/2O1A1wedeTI5ql780tHgdegHObqerCSdMkFh8PN4VyLpz4dZ/IbfuM72YXrl+ 1KVSnSURz8NGBy/sbZYFxbXm7/99Yl37EjYrPpFEcgjzbZpup8acOatrRmVBeq2D7odX mmBt6WjjHOQI9Yl1wKYRwGDZYOHPOUnIBp1rp3EzW1ydhKw+5QrQ82y20XDBh3/ZB1V8 WldQ== 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:mime-version :content-transfer-encoding; bh=bz8P1nZoUMT1v+PZjFbkPen/qOCExDvSHfDWKtBldgY=; b=CmJUboHT8VNqRXTPELPA1XhE2yRQlEob06NU6FXwoMLl2QUE+rn21DWzaDxrjMVH5j W/IUTz0hZuLqc06yDeAUYzKv11Q6x/kpe19Z0hpvKf62/t+9+k42ONeFKPKkG7X4amN3 199RlLQWdOqlEwJKMHRo/gKGd7dFhdFj52+rEGf5GWM7xFmjp4HD/OFVQ9gZCNmyyD/f nthnQBbgG/+r0O8jhWxlZkbfnxQ/beKw32/eEJy6Iin3U9HjhVWjVLN9Trv6X6wDYuSQ 5/L4WU7FifVELWTwXjcyAmYOrBCfW8Z2WUFg9nBDYx0kAkRK0OvwDVnTpZ3SQkj186R+ s4qw== X-Gm-Message-State: AOAM530+H5hrSZ2add9kffmjA9S7T/9fm74RVu/VsMmjWHHO+IJWCzQF KBHrY2cD+/xpdeaO4hyXjLc= X-Received: by 2002:a63:9612:: with SMTP id c18mr1553295pge.29.1620571840169; Sun, 09 May 2021 07:50:40 -0700 (PDT) Received: from localhost.localdomain ([2405:201:9004:6c18:2a60:b7b4:ea0e:f455]) by smtp.gmail.com with ESMTPSA id r63sm17043720pjg.46.2021.05.09.07.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 07:50:39 -0700 (PDT) From: Dwaipayan Ray To: alexander.deucher@amd.com, christian.koenig@amd.com, airlied@linux.ie, daniel@ffwll.ch Cc: lukas.bulwahn@gmail.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Dwaipayan Ray Subject: [PATCH] drm/amd/amdgpu: Fix errors in function documentation Date: Sun, 9 May 2021 20:19:23 +0530 Message-Id: <20210509144923.6316-1-dwaipayanray1@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a couple of syntax errors and removed one excess parameter in the function documentations which lead to kernel docs build warning. Signed-off-by: Dwaipayan Ray --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index ae9fb2025259..312f24004413 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -320,11 +320,14 @@ static int amdgpu_ras_debugfs_ctrl_parse_data(struct file *f, * "disable" requires only the block. * "enable" requires the block and error type. * "inject" requires the block, error type, address, and value. + * * The block is one of: umc, sdma, gfx, etc. * see ras_block_string[] for details + * * The error type is one of: ue, ce, where, * ue is multi-uncorrectable * ce is single-correctable + * * The sub-block is a the sub-block index, pass 0 if there is no sub-block. * The address and value are hexadecimal numbers, leading 0x is optional. * diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 16252d48e5a4..7e1a67295106 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -2796,7 +2796,6 @@ long amdgpu_vm_wait_idle(struct amdgpu_vm *vm, long timeout) * * @adev: amdgpu_device pointer * @vm: requested vm - * @vm_context: Indicates if it GFX or Compute context * @pasid: Process address space identifier * * Init @vm fields. -- 2.30.2