Re: [PATCH] rtnetlink: fix gcc -Wconversion warning

2015-10-12 Thread David Miller
From: Ronen Arad Date: Fri, 9 Oct 2015 10:35:47 -0700 > 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 . > > Signed-off-by: Ronen Arad Applie

[PATCH] rtnetlink: fix gcc -Wconversion warning

2015-10-09 Thread Ronen Arad
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 . Signed-off-by: Ronen Arad --- include/uapi/linux/rtnetlink.h | 2 +- 1 file changed, 1 insertion(+),