From mboxrd@z Thu Jan 1 00:00:00 1970 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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 C6D32C10F14 for ; Thu, 10 Oct 2019 13:42:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 973202067B for ; Thu, 10 Oct 2019 13:42:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="2D1Tqf6U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388226AbfJJNmG (ORCPT ); Thu, 10 Oct 2019 09:42:06 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:51091 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733228AbfJJNmG (ORCPT ); Thu, 10 Oct 2019 09:42:06 -0400 Received: by mail-wm1-f68.google.com with SMTP id 5so7026389wmg.0 for ; Thu, 10 Oct 2019 06:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BFnPJ9CbG5m+x0gh6lci0Tzu5Dr4+uLZpxV5Yx2Lp/I=; b=2D1Tqf6UFvfY0GQ9zEYDEh2Aun4e/M6ytMMzlnE2j/5GfOvQb2EdFXTY8hL3tUFiK4 IKvpLWImL7VIt4bWNW6tdtZjUjstnN9Sw4k+8qSkxy1hm7hP3wzyM9tXrNoehAr2pBfI /pph7Ltzs7VJpXiH5PgtBZQg6RphycW5hmd6eemxlXSu9/bL+7iUvP0l/8E2smERE16U c5a5JCC+dn3i1Kuzymw+jIQ/dEaazHKRi+sULEFpIKz+2f2qySvzK8MEQTuoEX/m8FmZ zndroZ+Qn1ckVlUP4Av//2uOc97O8bKY+D/nzac0m21tJ0UcjUJJbsX0H8QvCCFL0QQv 4HKg== 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=BFnPJ9CbG5m+x0gh6lci0Tzu5Dr4+uLZpxV5Yx2Lp/I=; b=EPO4rORz70jVxtjVKP0CdCipcu+4cPmjMD8P9r93dCKDm3vBW8PLIXqSXRaPWU1714 Kuv0Tj2Zo0GD0k3Y81xScn7vBS3p2xtTCcbTlgTjZX5H89aY9Oa4556HTjz52TNUJSfV sxpDDsWobyi5fP1pgqNfaXcdbpCdIegWYtWwziUtoEGAgBi1uQ6rM7/yC2yCM6bmBfmq FwgY1/s2H2FfTMAaOi2t97IN6g4eJ9L8A+CTaop2p4JiHig9nyb4kVh97JNfYj66Lgwt i5kO2VwfCyZ/Qf14XVj/SM8lgc1E/RVX1IgKvfCAuALyE601+s5zTHNx8IjlyJgsQc9t llRQ== X-Gm-Message-State: APjAAAWK//ukKCYPB4fjEdLxdvpN/+s1Vkn92yx1Zto+gd8wZBvOpGqz 4ih4oeEDHGtEH+w38hy/FFl9bw== X-Google-Smtp-Source: APXvYqzi+PrehgDRm3UXJf+By4vMypNQE6kgp+vy7T5Pq1WqICHZIHsTblx+rCZ98uH3ZCqj4MEFdQ== X-Received: by 2002:a05:600c:2185:: with SMTP id e5mr7960137wme.78.1570714924491; Thu, 10 Oct 2019 06:42:04 -0700 (PDT) Received: from localhost ([85.163.43.78]) by smtp.gmail.com with ESMTPSA id u1sm4930948wmc.38.2019.10.10.06.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 06:42:03 -0700 (PDT) Date: Thu, 10 Oct 2019 15:42:03 +0200 From: Jiri Pirko To: Michal Kubecek Cc: David Miller , netdev@vger.kernel.org, Jakub Kicinski , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , Johannes Berg , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v7 05/17] ethtool: helper functions for netlink interface Message-ID: <20191010134203.GA22798@nanopsycho> References: <061af34c9f34205ed18a126cef9ebe1534de8bc7.1570654310.git.mkubecek@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <061af34c9f34205ed18a126cef9ebe1534de8bc7.1570654310.git.mkubecek@suse.cz> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Wed, Oct 09, 2019 at 10:59:15PM CEST, mkubecek@suse.cz wrote: [...] >+/** >+ * ethnl_parse_header() - parse request header >+ * @req_info: structure to put results into >+ * @header: nest attribute with request header >+ * @net: request netns >+ * @extack: netlink extack for error reporting >+ * @policy: netlink attribute policy to validate header; use >+ * @dflt_header_policy (all attributes allowed) if null >+ * @require_dev: fail if no device identiified in header s/identiified/identified/