Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp139409img; Wed, 27 Mar 2019 18:57:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzP0EOtgNTtTdrxUPea6G7sf7cgGx+3WfeSEvWVxsaz21Qd7xKIT+9RPHVtrhYeb50CLNtz X-Received: by 2002:a17:902:59c5:: with SMTP id d5mr6744411plj.104.1553738272185; Wed, 27 Mar 2019 18:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553738272; cv=none; d=google.com; s=arc-20160816; b=sQtp6ZsJ+oXfcJbATNts2rdEcdBO5YUdYrpcgi0SIfF1BoC79E9/76ouueuteO9UxQ anfXgwehcftYQBLvf2XO6RPns0K/XYV6YZQSgIBa/SRagm5Dk/4qjRzRFVFXc9O7wyKR MedAYejYdDANRnLzjhUPf0VSVVW9xH87+KnLGsYniT4ZaRDCfdMDzbF90HZVPk9kXlkg /bJZqaWJCuPW+f/OkG6ssk3Cbs/pMPtiYNTsk2AbFeTwvgbOJBFmIWektsubnHAmOlsh huO9PBpR3tFJckvOXb6rywv8pXTdU06hd2vhd/KuqFxwO2RjoLaFAV/QWiqxYkChzD9I W7BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=G9RXxZWKQwBF5Mo/ZnrlsbGRsQJg13azRTg0miMtecM=; b=smPlGo3pW3iWotiy2gWxmcI+vcdndQ2OSnaVEzMac9r4JSHarbfkRRB0xxk6SoXM6p e60d/gf2AheE7IdWnD+LwwEYM1bbia8edq2LlhdnSA+CNJO5Ri6ptF8+W365pvDYz5jG u+TFs0L5FZUomPDj+maT1y92awAOobjVcibU9ejqn+xjhAa2oX/bK0l+NfEjbWe7Xjvw EkKBMjqIYofdsAx9lP4JdyeXzkgM616BJ+pSuMKUZvZPOfrOnhJvaIj8L+Fzw6tZYK2J TtXea1HgKHvYgEpNPfMIX4VXW/ubHDQOXd5+j9O8fLcF8wP2yZlQDB9cjxfqtqKQDBNq FdLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sk6U4aPx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m68si20796907pfb.33.2019.03.27.18.57.35; Wed, 27 Mar 2019 18:57:52 -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=@gmail.com header.s=20161025 header.b=sk6U4aPx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727632AbfC1B44 (ORCPT + 99 others); Wed, 27 Mar 2019 21:56:56 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:38719 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfC1B4z (ORCPT ); Wed, 27 Mar 2019 21:56:55 -0400 Received: by mail-ot1-f65.google.com with SMTP id e80so16874491ote.5; Wed, 27 Mar 2019 18:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=G9RXxZWKQwBF5Mo/ZnrlsbGRsQJg13azRTg0miMtecM=; b=sk6U4aPx3EPMOHDnVEytFLnDR/Z5Zyp62RIeSTCJS6VBA3eC4b1b+bJDBC14OBFkLb 8J5CBq/bBKzFT/4HdY7rUkhWGTFfOv/9XO7CDJ9ND0rsmgGatjew+ajm1gqmi54huGJS A+CxR8q5vZehdYAywgjtTrkVbZUvCr3rxjsaLEJ0JGdJIK9Exd4/nMDYcCj2GB9M0VCz BS+l/coy1Ehv+ukMh9IDwBN+6UGCjrUAAt3ACCMGZ2uTufjBwUW2w6/PWT7peVAZvDkY +87UNAuIYEM16uS4XA8ZRo0+gcs2TLB2XEY7SKSixnOrXhTgnYfJNwksdm+Xi+bpy/6t Y27g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=G9RXxZWKQwBF5Mo/ZnrlsbGRsQJg13azRTg0miMtecM=; b=JAzGy5+IgE8OhSolZZEFMNvJHnhzytaqmSIqmcP9jjx3ncsspOA7/nFybsy3YdoFJ+ 0DnRLZ40Q8OhGJS7KsuHYY4tYljVoMBciRx46Ucl5HA3G8y2eOYEBXo2DpqK3DgZq6KP B8jr8UBAMnoFjmMzSBtOeVg2DUJ4Pmns4iwxOiGs5ih81o8+7ucbKWLpLCVg2aNijBH1 XOCKakSY+pYYvO5ozWQlkjbyCVGJaoq8wAi0dv4UaZjyjTtkeurwDA0PxnfzZw7qvNGP bzyQJ0FyP9yncrUVAB1OyfPcTjORf7+BCrGysVoWeqWXxSQDrEvFeIcE/Cugbak5RYUB eLiQ== X-Gm-Message-State: APjAAAXZiuNXzT9/2veuP6gLN0FoDIVF0JeQ7jDXpCu/UdEsgO2en8vX 0dXKxG0IDsSlG/ietIE0X+G76vfv X-Received: by 2002:a9d:6d05:: with SMTP id o5mr29651375otp.175.1553738214449; Wed, 27 Mar 2019 18:56:54 -0700 (PDT) Received: from [192.168.1.3] (ip68-101-123-102.oc.oc.cox.net. [68.101.123.102]) by smtp.gmail.com with ESMTPSA id q6sm9057903oia.4.2019.03.27.18.56.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 18:56:53 -0700 (PDT) Subject: Re: [PATCH net-next v5 02/22] netlink: introduce nla_put_bitfield32() To: Michal Kubecek , David Miller , netdev@vger.kernel.org Cc: Jakub Kicinski , Jiri Pirko , Andrew Lunn , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org References: <94ec4068f6767acabf6bd795818f5b7ce2dae00b.1553532199.git.mkubecek@suse.cz> From: Florian Fainelli Openpgp: preference=signencrypt Message-ID: Date: Wed, 27 Mar 2019 18:56:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <94ec4068f6767acabf6bd795818f5b7ce2dae00b.1553532199.git.mkubecek@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/25/2019 10:08 AM, Michal Kubecek 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 Reviewed-by: Florian Fainelli -- Florian