Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4116413img; Tue, 26 Mar 2019 03:22:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlTTgeAtBrZY6QeXDwSjGEM/crsHBe4EeJ4u78KaMSK7m6Znmy3GKNfdGxvncLZ4qdMDoR X-Received: by 2002:a17:902:8e82:: with SMTP id bg2mr30698530plb.217.1553595764883; Tue, 26 Mar 2019 03:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553595764; cv=none; d=google.com; s=arc-20160816; b=UZ55nJA8tOVT2ObWghbcMr/bEuhf1LB9edoqDM28nOs+BsVLH/r6RNEiI4ppPTcqYG 4prgUgu9nJTRr6kYMFiAPVoy5p3pqvv92uBCRJe1Fip0X/NAAScbWlircqd8yFAG9JCJ cZpBxu/126oT/TqZFDgOAxqH08Hz94sTGAFRzFG5UIGeLU1eNS3+edDynzjVjIL6y8YH hQ2xpEmHgh4SiJFj39IP5ujblhxTbUG1q2PhzV7TspCnqeTZe71djLHViEOWb76rW3Mm wJSuccNTFDq3gAPPXfn2E0qo3grnbvqAgdYsAIo7juLcicXhtf2E4nmqiH7Ug7aiuQl8 sjSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oGDK3PbhKNJWW4lty9R1MVSikr2RPSdtx2bt/jj9n5c=; b=qDR30mU50w/Ik5zYHRQ4VpkGSu+5C+mcAdeQPkMJh7uEbajDfQrtwkFfCASgzyW954 kUEmu2qzJ1MgCGnXAwWxJCcCd2B8t1skwiioPt27u8I2ULX0S3Ej16ZE64bntsfJlV81 5XDatM4kz3yvL8yZnHg91V449hZYCPu4EY8xUYZiM4wjz+YBrx7fdUCDtR+m4ozbnPRZ yYWAgiEKrFd5RHylGIWc9jkX0g2HSDyoABqL4/DHY5rhOgMpy5bKirjijPQDNHNEyUaO BTRHT0MitRl7dLCUbKWUYeC6rnfyTf0kakU+4WOcayRfn8V6a3XMD5qa1M46ZiviLOBR 9CnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=GKN6TdnG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19si15090043pgj.426.2019.03.26.03.22.29; Tue, 26 Mar 2019 03:22:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=GKN6TdnG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731330AbfCZKUl (ORCPT + 99 others); Tue, 26 Mar 2019 06:20:41 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37826 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfCZKUl (ORCPT ); Tue, 26 Mar 2019 06:20:41 -0400 Received: by mail-wr1-f66.google.com with SMTP id w10so13636781wrm.4 for ; Tue, 26 Mar 2019 03:20:39 -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=oGDK3PbhKNJWW4lty9R1MVSikr2RPSdtx2bt/jj9n5c=; b=GKN6TdnGEFVDK+EhCz92UnTLWLPDWnLzjzpWbd3Ytb07y1JBX43GSEnsRjHsTMUIL7 8DabvGAM2xqgqd/QI0pVg0lQcbRWPl2QHjJP90anVv0apkkOrHUwYtq7Zt+gM+2MwYZE zj0F6jTQxbVwLkPQbzSG3W/X+ytb3u2ZS60KnTKP9MBagchF+61JYZRR0tlXESLejW1Y 4nX97a7m1PVyHmjaumUkzwyU3fZFyohMCHODsDM54w4rYYimEDKdlkkUAJkqEiB2nIzX PqnFi0u07mDicHLTT+up5Cvarbe2zSEbt5vulyHVbTiAuE5NmX/MG+SaxX7095GMbU17 FgYg== 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=oGDK3PbhKNJWW4lty9R1MVSikr2RPSdtx2bt/jj9n5c=; b=uNXLU9kFgRXm4FScm27a8gyrM+yzoki7TEypC5NV3fgXqF7G7wycmeZruYMNnQHA3H Vkq9rjEDr1hQop2Z/OT0IyobD+Y8QiY7HP5djLAEfKj86TV7WuAQXPx2/uGmMqozq7Ad zWfiPfMDBn6La1TGYtjW8yGDSJblPgL5d3XXAnLScieE1+sdy1r4Vx9ZVg7zgb2XY2uK LMRGK3zFN8kBfRuMobDsibfD/mvoJ668MCmmxCi0KkCxHmMDpZjpc0FIeV1wlyGVFxC6 8R719O0DOK9u5FyKi1lmq8nH1yJbCMwSpfQcxQ8w5MoG8tG8ydddn1ByskwT/OFMqE93 H7pQ== X-Gm-Message-State: APjAAAUnb0u4/AU82xxO6kG/C0C/dDAXlQJp5gNF/Udy+WMoHY3G9NME xtNtOLKlb0Q/FQbIZJURpjZGLQ== X-Received: by 2002:a5d:474d:: with SMTP id o13mr19135264wrs.278.1553595639234; Tue, 26 Mar 2019 03:20:39 -0700 (PDT) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id x84sm1256184wmg.13.2019.03.26.03.20.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 03:20:38 -0700 (PDT) Date: Tue, 26 Mar 2019 11:09:51 +0100 From: Jiri Pirko To: Michal Kubecek Cc: David Miller , netdev@vger.kernel.org, Jakub Kicinski , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 02/22] netlink: introduce nla_put_bitfield32() Message-ID: <20190326100951.GB2230@nanopsycho> References: <94ec4068f6767acabf6bd795818f5b7ce2dae00b.1553532199.git.mkubecek@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94ec4068f6767acabf6bd795818f5b7ce2dae00b.1553532199.git.mkubecek@suse.cz> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mon, Mar 25, 2019 at 06:08:00PM CET, mkubecek@suse.cz wrote: >Similar to other data types, this helper puts NLA_BITFIELD32 attribute into >a netlink message. It takes separate value and selector arguments, if there >is a struct nla_bitfield32 already, one can use nla_put(). > >Signed-off-by: Michal Kubecek Acked-by: Jiri Pirko