Re: [PATCH 2/3] libnetlink: add nl_print_policy() helper
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2020-10-25 21:23:14
Also in:
linux-wireless
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2020-10-25 21:23:14
Also in:
linux-wireless
On Mon, 24 Aug 2020 19:51:07 +0200 Johannes Berg [off-list ref] wrote:
This prints out the data from the given nested attribute to the given FILE pointer, interpreting the firmware that the kernel has for showing netlink policies. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
This patch causes warnings from iproute2 build on Debian stable.
Please fix.
CC libnetlink.o
libnetlink.c:33: warning: "__aligned" redefined
#define __aligned(x) __attribute__((aligned(x)))
In file included from /usr/include/bsd/string.h:39,
from ../include/utils.h:13,
from libnetlink.c:31:
/usr/include/bsd/sys/cdefs.h:128: note: this is the location of the previous definition
# define __aligned(x) __attribute__((__aligned__(x)))