From patchwork Tue Sep 29 00:53:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 259990 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=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 38C46C2D0A8 for ; Tue, 29 Sep 2020 00:53:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01F5120773 for ; Tue, 29 Sep 2020 00:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601340828; bh=3gxw13tMwww5Zoj4cA3F2PRtClm/f7JvfdUGN79ftM0=; h=From:To:Cc:Subject:Date:List-ID:From; b=KRdo9WrZu8S6vxsMRTteJEO8pVmCXZ8eao+kWL3BKkq7h5Er7ziHM5G5kQE+H/ZCC LMgkV/TKA699QzdwYMomguq733QZpo3vV6jXwSllUpZxgP3KF3RDn6z5Wfw68tP303 I2EuvE4KkUQ9YG7yUpwY6SMVwQDLIDwccVhtX1bw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727283AbgI2Axr (ORCPT ); Mon, 28 Sep 2020 20:53:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:56924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbgI2Axm (ORCPT ); Mon, 28 Sep 2020 20:53:42 -0400 Received: from kicinski-fedora-PC1C0HJN.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AA18B20773; Tue, 29 Sep 2020 00:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601340821; bh=3gxw13tMwww5Zoj4cA3F2PRtClm/f7JvfdUGN79ftM0=; h=From:To:Cc:Subject:Date:From; b=eGPxK6rySuxrQivIj0rUxhHBzRDiV6e2/XnhKjWArvzeDvNXQyHjmphtWhldHjHTm 2WjHItCOEi78ka8QfmSRBrB3NJDiXpD+w93N6vJTJJMexXasm/6zT7leYNze8uVISw /94+TabgZpDXKSms9913HKLQQJUvvWXtI7xs77uo= From: Jakub Kicinski To: davem@davemloft.net Cc: johannes@sipsolutions.net, netdev@vger.kernel.org, Jakub Kicinski Subject: [PATCH net] genetlink: add missing kdoc for validation flags Date: Mon, 28 Sep 2020 17:53:29 -0700 Message-Id: <20200929005329.3638695-1-kuba@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Validation flags are missing kdoc, add it. Fixes: ef6243acb478 ("genetlink: optionally validate strictly/dumps") Signed-off-by: Jakub Kicinski --- include/net/genetlink.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/genetlink.h b/include/net/genetlink.h index b9eb92f3fe86..a3484fd736d6 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h @@ -130,6 +130,7 @@ genl_dumpit_info(struct netlink_callback *cb) * @cmd: command identifier * @internal_flags: flags used by the family * @flags: flags + * @validate: validation flags from enum genl_validate_flags * @doit: standard command callback * @start: start callback for dumps * @dumpit: callback for dumpers