From patchwork Wed May 26 08:47:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448147 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017163jac; Wed, 26 May 2021 01:48:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuQm8kWd4QSWmomozNO9+lFWMNyZQUKybN40COQWxaoD4PQxFPE5X82PYywZHwLS0Hfjuz X-Received: by 2002:a05:6e02:1046:: with SMTP id p6mr25203572ilj.86.1622018882003; Wed, 26 May 2021 01:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018881; cv=none; d=google.com; s=arc-20160816; b=bqy+xLbj9/GJjL5wLGJXhPpvU9kpcsRl7ycm+BRcIIVbPymNhxO4gyvSYVgdde9/fe UnBQL0V2YjcjdO9ydWL24yIACsZ1kZtvuIb5wNuRuBUTiqoHYcmxVDQqquxE4R4tM4C1 LWOTt870CKfm3tiLCZjk+eHSbYvcZe4IUb4peyfQVOdZyXxtbj1RZOrPTy81pnfcD+B9 df4k3tRl4nABNmtIsZWr8pEJimm9yoRAgf/yncdo2e7Z5vkXcJh0drOMLRX81lF2CLno /aAsSIOHQiVhwCE7A4Bmk1YP4gtyuaELlEbbE2XvYSWlaMMfE6BWwQ2MBW2DtS04+ECc prjg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=cRz/FAY8U3FN1C7BCcC521/UhX5vapUKElOpnx/trxXp0gl48QXgnky1e4NeGH5aC3 V3RtP62EPgqQJ5p+Kxh/nARb6wE/ym8A9IHgxAJVy4N3/RFCSgFJUZbyVCGsQBK46HLa Vy70CCV0S8WG/0rfxif6mgEmvScoswfXKNijPiXtAX1FUL4XX3CwVD9p9oYttSGKqCPL AVDe17nQ1UKseZvRtaF3VofN8zFG2lQhwlpGFx1iM22jXY1D53KeixuExyopXFS03viJ AvPQVSww64y3WSaMTtMlFWn1papLQC7YKH9RYkkXSqfcmeSyyTWzI4n9CJVCVWL8i+hz fsdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c4kUnaRX; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si17293277iow.99.2021.05.26.01.48.01; Wed, 26 May 2021 01:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-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=@linaro.org header.s=google header.b=c4kUnaRX; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233348AbhEZItb (ORCPT + 4 others); Wed, 26 May 2021 04:49:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233352AbhEZItX (ORCPT ); Wed, 26 May 2021 04:49:23 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D94EEC06138F for ; Wed, 26 May 2021 01:47:51 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id n5-20020a1c72050000b0290192e1f9a7e1so31885wmc.2 for ; Wed, 26 May 2021 01:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=c4kUnaRXN1uSNT9CNqKjLxGgwMYV5KPLAkWSyqK5DOgFijFCdPEer5ag+RhVskDw8W xD5Wm1G3uhkJQFCh9CEozH8HaqWRsKb3lQa6A8QKchsv4XF45F0g4L4kIRz9YnJzeM6J R9O4BkOK8yTJg2L9Eh3RQJB2LisUZWeHoD0TKD7j6TAOWauUevORNcMzXlaLCANb+nWS vhmPGu+ZC+SIosHydMuuyePzdK5IqegCQydfd8NglfJf/fOqcywr3kvB2QvDWBTF3LPY XXV0kLgr0qrY8mZm+YmZwRmFB/vZoQRUvj0bOzwp3/0UAd60jYd5IU8l8stUaFHUn7kj YJkQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=OX5Kzis29ni4eoOMFqVxDjGwqFEyOc2T4wYn731vE6tL8cnH5MiBolfnurp7RaoMiT J10feK19kp1oelaeZ1UvRCuYLShmCwxrDRThcHSvQnPaTWG10kBBRu/Z+RtRmNc+M16R S2lhnglAWwLLuun3hR+UJszVkLUq4pqYlcp9bsMt67E+vbAqOxxPRYMH9MDbjkPR/+Zs mzQxWoOsuqml9LrAC5XnjOuJf8ix+bkRDmGy0//CC9dpNALbzpJzA/IBK7TbW3+Is6Ik I1rdmCl/tFmXlJ+GSOUhsBPSqGdQj8LNPBdwg+hxIaJMiDd/z8uXN1qhRwFm9CNP6xPF EmGg== X-Gm-Message-State: AOAM530KXU2Ll1WFs1ksvjPtN5HhjacvdR2sJNK1o8l4MsELHggOMuTB qoF4sQ48Rc5yJ3BxcnfjhtbEMw== X-Received: by 2002:a1c:e284:: with SMTP id z126mr1717895wmg.108.1622018870506; Wed, 26 May 2021 01:47:50 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:50 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6n?= =?utf-8?q?ig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 19/34] drm/amd/amdgpu/amdgpu_device: Make local function static Date: Wed, 26 May 2021 09:47:11 +0100 Message-Id: <20210526084726.552052-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4624:6: warning: no previous prototype for ‘amdgpu_device_recheck_guilty_jobs’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal 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 --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 4a040f89ca5aa..f15e180762d2e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -4692,7 +4692,7 @@ static int amdgpu_device_suspend_display_audio(struct amdgpu_device *adev) return 0; } -void amdgpu_device_recheck_guilty_jobs( +static void amdgpu_device_recheck_guilty_jobs( struct amdgpu_device *adev, struct list_head *device_list_handle, struct amdgpu_reset_context *reset_context) { From patchwork Wed May 26 08:47:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449172 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E630C47088 for ; Wed, 26 May 2021 08:48:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23F2861440 for ; Wed, 26 May 2021 08:48:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233395AbhEZIuM (ORCPT ); Wed, 26 May 2021 04:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233386AbhEZIth (ORCPT ); Wed, 26 May 2021 04:49:37 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7904BC06138B for ; Wed, 26 May 2021 01:48:03 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id q5so215938wrs.4 for ; Wed, 26 May 2021 01:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JvuBm7KpIXmVjvwi2OsKGMdogxy/zdINv8FqDSEvNYM=; b=Lqd5jcfBOyTJPW2tFudt8CJv9J24bMfUhxeVIJZ8LmLI4SntnbTDRQQKyC6gpxAHXz 9bN24AK6T739jCAH8GscQi8AgLUwd+1GsQcwK5rlRKI9kY7T5vOPO8+dZWVsWF1LSCZ3 vG+j9kMH6Avl7hje6v2lDCjezgRtIi2s8bjtXVftIff6+ZLU1WMKEWszoAmYPFPG+d0M l9HPG8kGlyHpAOjOVi8ub43lhmZysDxIVeNgKCjW/MPBpSpJ6EgC0SlVBD4MLyN3Lhk6 xoqjjLeGwk8V6oZ2P+P27keDN+hsF4syPgMq8Kv2GGg9MDJI2j+cjGbUixn0xhZfGkxW N0RQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JvuBm7KpIXmVjvwi2OsKGMdogxy/zdINv8FqDSEvNYM=; b=piHqTFHvKUw1J1zaZvvRpB/XyeGCyKjMFYxB2vLY5guVKEtpsY3INtBK/qLBs5d0R3 wXGyEybYgwuqffGZwBh3cPp5pq4LA96pKBLLOlQefViewqiQkB5U5HQyqKWcLvPHQ/3G 01mUuwL23XojXUVmvFTWlSZ8Aiey/rb1BTRzMvfo5p5zyyFXxv0uMoSsMDnOjte+GYsR 4SInfP2J5UDs2CVULDEoOBCecj69B7bwch46k8g2j7O0nhiWs5Nb6Cgbcbi9Dciqz61+ 9rqQwbBCh/Qb24bBCbpLjUDpraORB4yS1BykBGuGBgvdPApJCyjaimsi8kb3+IeLkADW 6gPg== X-Gm-Message-State: AOAM5330BF1/0pKrZUHe6JI9geTFhxIt16eyCtkpqNxcLET4OLgMkdCg zF6EfMqOOduscoLeoafWkqsaJQ== X-Google-Smtp-Source: ABdhPJwxA+jqhLj0tvDnM1PGh5FH/QBEyrCkQJOeG+4sHZp0/bgWOd+eUHWE5+4mhkN/TVbBG84CAQ== X-Received: by 2002:a5d:4346:: with SMTP id u6mr31620387wrr.304.1622018882087; Wed, 26 May 2021 01:48:02 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:01 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, David Airlie , Daniel Vetter , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , Adam Jackson , Ben Widawsky , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 30/34] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format Date: Wed, 26 May 2021 09:47:22 +0100 Message-Id: <20210526084726.552052-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vgem/vgem_drv.c:47: warning: expecting prototype for This is vgem, a (non-hardware(). Prototype was for DRIVER_NAME() instead Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: Adam Jackson Cc: Ben Widawsky Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index a0e75f1d5d016..bf38a7e319d14 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -25,7 +25,7 @@ * Ben Widawsky */ -/** +/* * This is vgem, a (non-hardware-backed) GEM service. This is used by Mesa's * software renderer and the X server for efficient buffer sharing. */