From patchwork Thu Oct 1 00:05:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 267256 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.6 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 69DEEC4363D for ; Thu, 1 Oct 2020 00:05:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B99A2137B for ; Thu, 1 Oct 2020 00:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601510729; bh=3gxw13tMwww5Zoj4cA3F2PRtClm/f7JvfdUGN79ftM0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=vS6yWiHyE/AkwvClxICc1HVl3V2hZ9XLfqtZ3Al7fbCioXmG4fXmGtAwYkQ5tjPnM +ZHIB4zhUkb2r5wsTynGRLCJsSNKk4qIQ+0TD30bNvPlcG69usC3TMEU7ryO/lr6Or JWfeN++KHUJYVzisprzojem+rOYEEKH2DaM2wKQA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731255AbgJAAF2 (ORCPT ); Wed, 30 Sep 2020 20:05:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:58588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730736AbgJAAF1 (ORCPT ); Wed, 30 Sep 2020 20:05:27 -0400 Received: from kicinski-fedora-PC1C0HJN.thefacebook.com (unknown [163.114.132.7]) (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 42ED32085B; Thu, 1 Oct 2020 00:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601510727; bh=3gxw13tMwww5Zoj4cA3F2PRtClm/f7JvfdUGN79ftM0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xXuOMD2/k3lBX8LRN8RoF40GI5CUNp1KY5DA1C6sYdRX+BRcT9P5e36Eu6rCd9Q2D CQhyAeDyxJorRd8DiN2F9qynMYkyk6xQpRBHD/6H4G1qIIhYoRgnpb9VhAaHKjAdSr WMRkoz8jnM1COFDtop+znlkjkkpaerQ83Hw3xKPk= From: Jakub Kicinski To: netdev@vger.kernel.org Cc: andrew@lunn.ch, johannes@sipsolutions.net, jiri@resnulli.us, mkubecek@suse.cz, dsahern@kernel.org, pablo@netfilter.org, Jakub Kicinski Subject: [RFC net-next 1/9] genetlink: add missing kdoc for validation flags Date: Wed, 30 Sep 2020 17:05:10 -0700 Message-Id: <20201001000518.685243-2-kuba@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201001000518.685243-1-kuba@kernel.org> References: <20201001000518.685243-1-kuba@kernel.org> 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