[Drbd-dev] [PATCH-drbd9 2/2] compat: nla_put_u64() is removed

Nick Wang nwang at suse.com
Thu Jun 9 16:39:48 CEST 2016


In v4.7(50225243), nla_put_u64() is not used anymore,
should use nla_put_u64_64bit() instead.

Signed-off-by: Nick Wang <nwang at suse.com>

CC: Philipp Reisner <philipp.reisner at linbit.com>
CC: Lars Ellenberg <lars.ellenberg at linbit.com>
CC: drbd-dev at lists.linbit.com
---
 tests/have_aligned_nla_u64_pad.c | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 tests/have_aligned_nla_u64_pad.c

diff --git a/tests/have_aligned_nla_u64_pad.c b/tests/have_aligned_nla_u64_pad.c
new file mode 100644
index 0000000..c345969
--- /dev/null
+++ b/tests/have_aligned_nla_u64_pad.c
@@ -0,0 +1,6 @@
+#include <net/netlink.h>
+
+void foo(void)
+{
+	nla_put_u64(NULL, 0, 0);
+}
-- 
1.8.5.6



More information about the drbd-dev mailing list