From patchwork Thu Oct 12 02:39:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haneen Mohammed X-Patchwork-Id: 10001167 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3C289602BF for ; Thu, 12 Oct 2017 07:34:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D02C28B94 for ; Thu, 12 Oct 2017 07:34:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 220DD28BF2; Thu, 12 Oct 2017 07:34:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B96FE28B94 for ; Thu, 12 Oct 2017 07:34:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A29A16E79B; Thu, 12 Oct 2017 07:33:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 85CCA6E201 for ; Thu, 12 Oct 2017 02:39:18 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id i23so4095336pfi.2 for ; Wed, 11 Oct 2017 19:39:18 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8ttOtKVZX3m0W0EuMWfAGD21AMF40cHjV8IGpevjA/g=; b=rzsr2E+zsbI+/Yrax3wkOeLmK4/tscmlBcDCyVHXZLdeM2RKHDVZPIp10m7Hu5q2Sv gunJOvKwN6MjWLbATCDn4Ut2jqv9nXVay3uk3GQ12qayMYXZKCJBgw7Ew25KMRZQC7Rm lAaXTDWMHI9Ohh60j0SccOLiiLCy2vY6uSH7yKYtRAbvbaRta37GSG+st1wujiIyIWho 69scttFlSVLjMxr0afPm3mlFvWcCTQ3tVHYwpSQMkpAD9tpRDJhNRhz6mvXH4MRUiVMZ S/6Uj0rf/L7dpzxX4M2Yeej/nse6+JnTY5JHEdepHjQraKGL4i9mahyH+DwjAyBLAP9M IHog== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8ttOtKVZX3m0W0EuMWfAGD21AMF40cHjV8IGpevjA/g=; b=b8PxnQeMAM0HmoNQEnI2MD+QiGcINCWlO2ENDlXz3BQujRwFoWqzL2kWshWa74GiCG xfYmfWoWk+Ul4/QaDJTbyZlBeMjCttxDiz2rPKWdxvWwQaIpLM/8t+BE8w+5Tvh7nsqu nuPwuXl1+DuW95X6+13TjrtxPoOVK57EmHfd1D8sanewTPjOz8Hk4PpgDvVdwDlE1pVc xQZvdww6NCqMRhvSvC4KnxBwoElhnFS4+GFDpTc5lA3Gzot2pncTw74qUq3ign7aogcB gURTkUGxF1jGHnAZdMFIHAYzpwLqx0jGhDbYf7PD+hiTr+4gk6unHWEjGdYgphAtar9H 7ahA== X-Gm-Message-State: AMCzsaU1z6odpP5NCksNpJ+zw0vdQ/mLGDIsjcgL+AZ/QbJ0DW8cfTbg FL98h+iE8yOhelCBDGCtvvIeYFyA X-Google-Smtp-Source: AOwi7QBw/TTI6fb69Bhll7Mxlw2Q1iTDtAiIJOZIed4EsXLfgpW78/Kzm69PH+nV0cutbVJqBHAjlQ== X-Received: by 10.101.77.74 with SMTP id j10mr861355pgt.324.1507775957853; Wed, 11 Oct 2017 19:39:17 -0700 (PDT) Received: from Haneen ([64.77.242.50]) by smtp.gmail.com with ESMTPSA id d124sm25208425pfc.42.2017.10.11.19.39.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 19:39:17 -0700 (PDT) Date: Wed, 11 Oct 2017 20:39:15 -0600 From: Haneen Mohammed To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 3/3] drm/debug: Add missing kerneldoc comments to exported functions Message-ID: <7fc383433d651ee4e81e2c132afdad57ad04b9dd.1507773977.git.hamohammed.sa@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Mailman-Approved-At: Thu, 12 Oct 2017 07:33:54 +0000 Cc: gregkh@linuxfoundation.org, outreachy-kernel , Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add missing documentation for exported functions to avoid kerneldoc warning. Signed-off-by: Haneen Mohammed --- Changes in v2: - Include this patch to avoid kerneldoc warning drivers/gpu/drm/drm_debug.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/gpu/drm/drm_debug.c b/drivers/gpu/drm/drm_debug.c index a79593f..6e66b05 100644 --- a/drivers/gpu/drm/drm_debug.c +++ b/drivers/gpu/drm/drm_debug.c @@ -29,6 +29,16 @@ #define DRM_PRINTK_FMT "[" DRM_NAME ":%s]%s %pV" +/** + * drm_dev_printk + * + * @dev: device pointer + * @level: logging level + * @category: debug category + * @function_name: function name + * @prefix: prefix string + * @format: printf() like format string + */ void drm_dev_printk(const struct device *dev, const char *level, unsigned int category, const char *function_name, const char *prefix, const char *format, ...) @@ -53,6 +63,13 @@ void drm_dev_printk(const struct device *dev, const char *level, } EXPORT_SYMBOL(drm_dev_printk); +/** + * drm_printk + * + * @level: logging level + * @category: debug category + * @format: printf() like format string + */ void drm_printk(const char *level, unsigned int category, const char *format, ...) {