From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755902AbcECJ2r (ORCPT ); Tue, 3 May 2016 05:28:47 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34775 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755666AbcECJ2p (ORCPT ); Tue, 3 May 2016 05:28:45 -0400 Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH net-next] block/drbd: use nla_put_u64_64bit() References: <20160426121850.GC20950@soda.linbit> <1462265435-15141-1-git-send-email-nicolas.dichtel@6wind.com> To: lars.ellenberg@linbit.com Cc: netdev@vger.kernel.org, davem@davemloft.net, philipp.reisner@linbit.com, drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org From: Nicolas Dichtel Organization: 6WIND Message-ID: <57286F49.8050107@6wind.com> Date: Tue, 3 May 2016 11:28:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1462265435-15141-1-git-send-email-nicolas.dichtel@6wind.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 03/05/2016 10:50, Nicolas Dichtel a écrit : > I had to define an intermediate function (nla_magic_put_flag()) because > handlers in genl_magic_struct.h expect a function with three arguments. > > Note that this patch is only compile-tested. > > Signed-off-by: Nicolas Dichtel Please, drop it. I will send another version to handle all cases.