summaryrefslogtreecommitdiffstats
path: root/include/net/netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r--include/net/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h
index a34f53acb6d6..d3938f11ae52 100644
--- a/include/net/netlink.h
+++ b/include/net/netlink.h
@@ -713,7 +713,7 @@ static inline int nla_ok(const struct nlattr *nla, int remaining)
713 */ 713 */
714static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) 714static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining)
715{ 715{
716 int totlen = NLA_ALIGN(nla->nla_len); 716 unsigned int totlen = NLA_ALIGN(nla->nla_len);
717 717
718 *remaining -= totlen; 718 *remaining -= totlen;
719 return (struct nlattr *) ((char *) nla + totlen); 719 return (struct nlattr *) ((char *) nla + totlen);