Re: [PATCH net-next] block/drbd: use nla_put_u64_64bit()

2016-05-03 Thread Nicolas Dichtel
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.

[PATCH net-next] block/drbd: use nla_put_u64_64bit()

2016-05-03 Thread Nicolas Dichtel
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 --- drivers/block/drbd/drbd_nl.c | 29 + i