Home
last modified time | relevance | path

Searched hist:e8444637 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Drtnetlink.he8444637 Fri Oct 09 12:35:47 CDT 2015 Arad, Ronen <ronen.arad@intel.com> rtnetlink: fix gcc -Wconversion warning

RTA_ALIGNTO is currently define as 4. It has to be 4U to prevent warning
for RTA_ALIGN and RTA_DATA expansions when -Wconversion gcc option is
enabled.
This follows NLMSG_ALIGNTO definition in <include/uapi/linux/netlink.h>.

Signed-off-by: Ronen Arad <ronen.arad@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
e8444637 Fri Oct 09 12:35:47 CDT 2015 Arad, Ronen <ronen.arad@intel.com> rtnetlink: fix gcc -Wconversion warning

RTA_ALIGNTO is currently define as 4. It has to be 4U to prevent warning
for RTA_ALIGN and RTA_DATA expansions when -Wconversion gcc option is
enabled.
This follows NLMSG_ALIGNTO definition in <include/uapi/linux/netlink.h>.

Signed-off-by: Ronen Arad <ronen.arad@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>