Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4240486pxv; Mon, 19 Jul 2021 21:39:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+73bKeC89JtWTwWjyQRLUxfqPSHQOUnYvG64HQV/gquIldnd3hhSdwQgzD84tpIooRoy4 X-Received: by 2002:a17:906:aad9:: with SMTP id kt25mr11544363ejb.48.1626755995956; Mon, 19 Jul 2021 21:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626755995; cv=none; d=google.com; s=arc-20160816; b=adacF1k4WHOuuy3A0NGLy1h5OHxJB1yX7nBYtcW2n1bJT5v/bF6IGXm0f+tqvX58zc cByPrKAKGXhu1LB5N16EqiOdrVYtw6t7ndRzruFvz/n73GSAnpvGOENTuDothODZHEPV ZW9hF0zPfJex44NQNT0GGdZP6STNya4N+zhrUxLXzQWCAiGh7Iu1Q08PHviyLsMoUPQb 1SC4LbxC5V+niqe+hNFk9+0VqrPmC6feQCEKyi5xr4PZvjA5SZlcepzd/AWlgUk4jZfn TjSUQtlzAYM2KOu9ICmaPiaLj3hLSHIgAc9qHY9Gc+zrV/NN/dk27s8Sa8fyicm59dP1 5BMA== 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=oJRAxrYs7RTt5lB7rIWFTEQlzeyXDUjCRcvLy4VcFz8=; b=EA5h43XFlgqF+61pZFPA9ov/BAUYePxosJAmWdF3Gk/xpjWpLdJOEjQ55N/EE1x8mT 9OjEkpG6S7xhTGvPnMnr2EeIIZWKx6iUslfddKJ+5d79qNUHOpKjux8l1Nrc22GflYQ4 32ddF5zYCYZKaisnj/b2GP/b3XEu1zuo32/U5Gey0zvcNux9jk5s0W+v4SiLkaTEbTAP 8xR31vUTdOX3dmISQYba5RGXi4KvjMC6K+184dqcl9k5hjUJlXKltkt3/MxP7NC/8r6j 7jclxmj30Mv16+MGYb+mkmIDFuRP59l11gFlv9gjD43OQw35JkxqLSyKjQPGbBUj/Kxm 9cNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=VwF80pOG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si20984143ejz.460.2021.07.19.21.39.27; Mon, 19 Jul 2021 21:39:55 -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=@infradead.org header.s=desiato.20200630 header.b=VwF80pOG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238610AbhGTDyt (ORCPT + 99 others); Mon, 19 Jul 2021 23:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234127AbhGTDyB (ORCPT ); Mon, 19 Jul 2021 23:54:01 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF361C061574; Mon, 19 Jul 2021 21:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=oJRAxrYs7RTt5lB7rIWFTEQlzeyXDUjCRcvLy4VcFz8=; b=VwF80pOG0We5K68BTjf8UT0qm1 OVXf7dYgS2OHZlKZ5EEyDErpf4zJy9CeqljknbuDR3peRB+97Iq9hoFJVZG/nzAZUljl5VzXcB2aL lPO17ZCqyqCh4QGdLzN8dBUqp2tUWROKTT9EDOfNkscycEXHOqlRBzjgbxI3AfpeX3yK+gFxfSo/q L3ynzUcFjs/PKHz59YiurQL3vksMBKgRhroSHFijNdmpjTckb7PJ6dhs3w7Wc1jVe/ar7j+89PlN7 0+f+6Nwmr3dxeWr/y4n0oQXc8B4Goo4Jc+ME9m6g86fEyWuKFwqamEBgJEABZ2udE37v4fqNvQtAr dSrLGMvQ==; Received: from [2601:1c0:6280:3f0::a22f] (helo=smtpauth.infradead.org) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5hSm-001Mf5-EW; Tue, 20 Jul 2021 04:34:36 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Ganesan Ramalingam , John Crispin , Aditya Srivastava , Thomas Bogendoerfer , linux-mips@vger.kernel.org Subject: [PATCH] mips: netlogic: fix kernel-doc complaints in fmn-config.c Date: Mon, 19 Jul 2021 21:34:32 -0700 Message-Id: <20210720043432.1684-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up kernel-doc warnings in netlogic/xlr/fmn-config.c by using correct kernel-doc format. Fixes these warnings: arch/mips/netlogic/xlr/fmn-config.c:106: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Configure bucket size and credits for a device. 'size' is the size of arch/mips/netlogic/xlr/fmn-config.c:181: warning: expecting prototype for Setup the FMN details for each devices according to the device available(). Prototype was for xlr_board_info_setup() instead Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Ganesan Ramalingam Cc: John Crispin Cc: Aditya Srivastava Cc: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org --- arch/mips/netlogic/xlr/fmn-config.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) --- linux-next-20210719.orig/arch/mips/netlogic/xlr/fmn-config.c +++ linux-next-20210719/arch/mips/netlogic/xlr/fmn-config.c @@ -103,18 +103,19 @@ static void check_credit_distribution(vo } /** - * Configure bucket size and credits for a device. 'size' is the size of - * the buckets for the device. This size is distributed among all the CPUs - * so that all of them can send messages to the device. - * - * The device is also given 'cpu_credits' to send messages to the CPUs - * + * setup_fmn_cc - Configure bucket size and credits for a device. * @dev_info: FMN information structure for each devices * @start_stn_id: Starting station id of dev_info * @end_stn_id: End station id of dev_info * @num_buckets: Total number of buckets for den_info * @cpu_credits: Allowed credits to cpu for each devices pointing by dev_info * @size: Size of the each buckets in the device station + * + * 'size' is the size of the buckets for the device. This size is + * distributed among all the CPUs + * so that all of them can send messages to the device. + * + * The device is also given 'cpu_credits' to send messages to the CPUs */ static void setup_fmn_cc(struct xlr_fmn_info *dev_info, int start_stn_id, int end_stn_id, int num_buckets, int cpu_credits, int size) @@ -174,6 +175,8 @@ static void setup_cpu_fmninfo(struct xlr } /** + * xlr_board_info_setup - Setup FMN details + * * Setup the FMN details for each devices according to the device available * in each variant of XLR/XLS processor */