Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp627724pxj; Wed, 2 Jun 2021 07:36:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3s9hWSx4Y1UOG6zIXSNMIjC/D4FZQAU2uiDL8BpFUdjkapxoAzk2ffDOhBrIPyE5Ut/+N X-Received: by 2002:a17:906:22c8:: with SMTP id q8mr4282979eja.12.1622644572644; Wed, 02 Jun 2021 07:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622644572; cv=none; d=google.com; s=arc-20160816; b=KU7UAj9u2HAbptv1ybXKZTXLUpyK75vsrgk47hyYMyNSRV1xZJ7fMYhBjbuHC4tkAw nq1h0muTfgaLZ0K9huJvMYTG8GsuADAfqjI1uQ8NKxsVcdJinJlotQicFzY1jYnI3X9O gFFbrnyTT+2TOcoXTtsJIra4JUX1ZMbn9wYQhrv0FgXbC2bU66xmyyxR61FrjrRjvh/O +pXGmfD7oVZZP90BsE7ksU4rImjB5xKa6AJz16wqR92zohYWxNpRv2dayhxd0e7mZ/v+ EWaWam0RdZuggo0Lxp2mHjNuttUUzRhfBNrb449A2EF5MXafpc2dzE30FXVRH9v5UjxT zqZw== 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=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=vJp67yXSaH6vH59uWRt/86O0h41VkmadlF/PNvNMOKZGU877KX1kGjzMp16zKkuV/V dHRs9COMd0eWBBGaTMHjT4eue8bhTvt280oNqbaY907DpRLEynkZU+l8Sa2Doo7uv87q sb0R92dPqmy6lJ1ptUg3VSP7aMld5VhXT4h7HZaWRPERYyQO/PhrB/+B5rm3WmRmWbQs I0hzgIia2QaJ98doSUl0MCpqeiDz+r0GKtYtQjsO+3AOH2xrmmE5BKCyjYDLUA1ZGZHz dF1+nMJcCzWYZTf+iCpgK+4nq5RQXU6Ltn0I0YGl1zmhN54pHlBZhUyTmK8mck21vBis bvKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nVd+6txb; 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=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 q18si67132edi.368.2021.06.02.07.35.48; Wed, 02 Jun 2021 07:36:12 -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=@linaro.org header.s=google header.b=nVd+6txb; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231470AbhFBOfm (ORCPT + 99 others); Wed, 2 Jun 2021 10:35:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231610AbhFBOf2 (ORCPT ); Wed, 2 Jun 2021 10:35:28 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7F6C06138B for ; Wed, 2 Jun 2021 07:33:37 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id n17-20020a7bc5d10000b0290169edfadac9so3924859wmk.1 for ; Wed, 02 Jun 2021 07:33:36 -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=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=nVd+6txbGTkvd96oaTKfulBS8JwdcjwEWSIdrGauDfuARuO8ZRkTn5cTMhfdV6roe/ cwP6oO1NmBUt8tuY0zeyaNsQEFZqw1HpHYvfsM1GHddzEOe3Ks+SLzyV/BmZxgFR3Y/j adKn13qmTK8EYIIfEKpiTryxiYMPefvNxH1uQMoK7to9/l3I6opm9WKt8BYa5VzcxUug zt9Rl6tsSESUE5RozQ/us7RYglBBX9AXrcQRfvLqcAuM/cLbWyOB+grqCDYSNzwibxnO P8jt2qL3RrOVVj8Lyfq+0yrt4uigX2fLTFeIvrUrxuYmpvA8cjeygpsiaeCO9Hpg+t2y u+Uw== 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=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=LNu/Kdvyynj43niAgTHGzWXeBA9ggG/S3h8G2x5HT5vhKaoFbj2ZGMVMiJJVUqct4e UGtcAORpWT8HfPB6OtPvmJ4EMcSMvhQ/mcVDjBC3YI3PbFb19PALzZ19B6bu3TFFrs0V bnfzH+WyKww5MqZE+jtO9lmFH97QcqFTULExykFsd1izdWEP46r1GzR2N//i+CUdN8o0 vHG3Jn3phLmhJ5/3Kr11YMW/rPrByFl/ulJGR6LA0uUdXBEYLtE95/gbFAqiZnSZoR5O loXiNjLmVxQouC6baQDCJ39HRkH1t/wOFJrzI0y4Jx9QcGj3Yg44zsCYAfcW19/3Rdlz QR/Q== X-Gm-Message-State: AOAM530XvVN8YXQAHOGGEKV0X7KOJwCB3B792sT6HVU4mR5xw/Jy6jng DpOoQ0bH1ZhtvKAxC8a9TcbLnA== X-Received: by 2002:a05:600c:22d7:: with SMTP id 23mr5327853wmg.119.1622644415687; Wed, 02 Jun 2021 07:33:35 -0700 (PDT) Received: from dell.default ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id o11sm132315wrq.93.2021.06.02.07.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Hans de Goede , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [RESEND 25/26] drm/vboxvideo/hgsmi_base: Place function names into headers Date: Wed, 2 Jun 2021 15:32:59 +0100 Message-Id: <20210602143300.2330146-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210602143300.2330146-1-lee.jones@linaro.org> References: <20210602143300.2330146-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vboxvideo/hgsmi_base.c:12: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:42: warning: expecting prototype for Notify the host of HGSMI(). Prototype was for hgsmi_send_caps_info() instead drivers/gpu/drm/vboxvideo/hgsmi_base.c:74: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:102: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:174: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Hans de Goede Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vboxvideo/hgsmi_base.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/vboxvideo/hgsmi_base.c b/drivers/gpu/drm/vboxvideo/hgsmi_base.c index 361d3193258ea..8c041d7ce4f1b 100644 --- a/drivers/gpu/drm/vboxvideo/hgsmi_base.c +++ b/drivers/gpu/drm/vboxvideo/hgsmi_base.c @@ -9,7 +9,8 @@ #include "hgsmi_ch_setup.h" /** - * Inform the host of the location of the host flags in VRAM via an HGSMI cmd. + * hgsmi_report_flags_location - Inform the host of the location of + * the host flags in VRAM via an HGSMI cmd. * Return: 0 or negative errno value. * @ctx: The context of the guest heap to use. * @location: The offset chosen for the flags within guest VRAM. @@ -33,7 +34,8 @@ int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) } /** - * Notify the host of HGSMI-related guest capabilities via an HGSMI command. + * hgsmi_send_caps_info - Notify the host of HGSMI-related guest capabilities + * via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context of the guest heap to use. * @caps: The capabilities to report, see vbva_caps. @@ -71,7 +73,8 @@ int hgsmi_test_query_conf(struct gen_pool *ctx) } /** - * Query the host for an HGSMI configuration parameter via an HGSMI command. + * hgsmi_query_conf - Query the host for an HGSMI configuration + * parameter via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context containing the heap used. * @index: The index of the parameter to query. @@ -99,7 +102,8 @@ int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) } /** - * Pass the host a new mouse pointer shape via an HGSMI command. + * hgsmi_update_pointer_shape - Pass the host a new mouse pointer shape + * via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context containing the heap to be used. * @flags: Cursor flags. @@ -171,9 +175,10 @@ int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, } /** - * Report the guest cursor position. The host may wish to use this information - * to re-position its own cursor (though this is currently unlikely). The - * current host cursor position is returned. + * hgsmi_cursor_position - Report the guest cursor position. The host may + * wish to use this information to re-position its + * own cursor (though this is currently unlikely). + * The current host cursor position is returned. * Return: 0 or negative errno value. * @ctx: The context containing the heap used. * @report_position: Are we reporting a position? -- 2.31.1