Message ID | 20230102211554.25629-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4317540wrt; Mon, 2 Jan 2023 13:16:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXuw6cwgLpFPsX5+c/JMTvDQFcV0GKvP9BqOUeTxJJhBT8kKIj58nhiHeFyJlH6H3va3wwJG X-Received: by 2002:a05:6a20:1455:b0:b2:636a:7bda with SMTP id a21-20020a056a20145500b000b2636a7bdamr61957870pzi.7.1672694203265; Mon, 02 Jan 2023 13:16:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672694203; cv=none; d=google.com; s=arc-20160816; b=txxWSa0sBe7B36Rk56OcNruFA8WN4HV8MpC2YfCxW/pLxQZvNBh4xQHWr9Ei6G0hER Nb+Ti7PjORyrPWPRyRYnvT8qofP4B40Wg4N67YoBfY0Y4O1A9+bgLBWbcmRUNza8rZsX zOaBSZ76JRDDpPSMHMbQXMoQmAu+EfM09ad+JbYnGs09XxIvp1kQojgQe6g+ahK49lAv IDhQqX10Gl43mXRo2NhG8B5+864rXtohM3kN+RZZk1++qFxI+z74pyrudTFc/a+4ukZW nb2ZIcd/A7Q4iJaUjQPA4zIZx7logPKCrKMU+9wlOzKXb9ylZtYdJJ3UBjLAykHcjiDS YB3w== 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=VdMnbSfEG88K3BFkESb9PC5ij8pRol7/foeqkxVRATE=; b=bcKHvyp7MZaN/xuVGPmtKhSK1CGMFmsy1RVVQW6GJkb+hGRwDamzyK0jReHQjHxvA9 uS39E/g9MDGzkWKXG4cuYzvb8FJiHb6jaRDiB6nik06WEtd/k/Rfy4f/Qsg+8LPga3FO Vj9e+ubIU7Vlp+J2BEzODQ7KVJvKkrJUYe0pGibvtQlNmhhOFkqHOvradG9P4nSZ3N6B tdkUuBgTox5XcFP3GIaGghzMkpN5p5np9wxLfT7b2XBQ0DgtEJEUIQDabxWlBXTsB/YE +RCnxb3k9Jft3wE6onZQLgooJiCVswL9F1z/OvakuHPK3TiNIm3x+/EF7FSyZzfsj/iE l1Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QOBCy3Z1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s133-20020a632c8b000000b0049cd15c93fcsi15359018pgs.625.2023.01.02.13.16.29; Mon, 02 Jan 2023 13:16:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QOBCy3Z1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbjABVQB (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Mon, 2 Jan 2023 16:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjABVP7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 2 Jan 2023 16:15:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB3B82BF2 for <linux-kernel@vger.kernel.org>; Mon, 2 Jan 2023 13:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=VdMnbSfEG88K3BFkESb9PC5ij8pRol7/foeqkxVRATE=; b=QOBCy3Z10WG7KbX/gcG3/KcqcP ODxLFcXaVEY7/39h/UXN/RBTBZYrgYwV8KKGtwPqf45b2ACiE+Le1iEy1gtjWrLcbZSXbAxoiak2D F/jCLURPbWK5iyOZc2WVuqldkLA/xdKx/MNSp8nw7xTeHPM5Ah+FvjbFG3wVYji2jEy3EGi6QOCqS JYdzp+cGBhnc27bGpbZRdyWo/rMStQRXmmWXbNj7prsT13vrRrHdVh/e5MXhXTn8h8iqHWzXtUsI9 xtacQma4zHvDD4+3PCLZGjCL0c/yi9MVvsACldc8YW/nuGIwxcbbStmfXdmn7xo1DuBTbFOz9TUzZ UAjV+S+w==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCSA0-00EIoz-1W; Mon, 02 Jan 2023 21:15:56 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Luis Chamberlain <mcgrof@kernel.org>, Russ Weight <russell.h.weight@intel.com>, Kees Cook <keescook@chromium.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH] test_firmware: use kernel-doc struct notation Date: Mon, 2 Jan 2023 13:15:54 -0800 Message-Id: <20230102211554.25629-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753946996983667512?= X-GMAIL-MSGID: =?utf-8?q?1753946996983667512?= |
Series |
test_firmware: use kernel-doc struct notation
|
|
Commit Message
Randy Dunlap
Jan. 2, 2023, 9:15 p.m. UTC
Add "struct" to the kernel-doc notation to prevent a warning:
lib/test_firmware.c:98: warning: cannot understand function prototype: 'struct test_config '
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Russ Weight <russell.h.weight@intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
lib/test_firmware.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Mon, Jan 02, 2023 at 01:15:54PM -0800, Randy Dunlap wrote: > Add "struct" to the kernel-doc notation to prevent a warning: > > lib/test_firmware.c:98: warning: cannot understand function prototype: 'struct test_config ' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Luis Chamberlain <mcgrof@kernel.org> > Cc: Russ Weight <russell.h.weight@intel.com> > Cc: Kees Cook <keescook@chromium.org> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Luis Chamberlain <mcgrof@kernel.org> Luis
diff -- a/lib/test_firmware.c b/lib/test_firmware.c --- a/lib/test_firmware.c +++ b/lib/test_firmware.c @@ -50,7 +50,7 @@ struct test_batched_req { }; /** - * test_config - represents configuration for the test for different triggers + * struct test_config - represents configuration for the test for different triggers * * @name: the name of the firmware file to look for * @into_buf: when the into_buf is used if this is true