Hi Tim,

On Fri, Jul 14, 2017 at 10:14 AM, Tim Kourt <tim.a.kourt@linux.intel.com> wrote:
-       for (nlmsg = iov.iov_base; NLMSG_OK(nlmsg, bytes_read);
+       for (nlmsg = iov.iov_base; NLMSG_OK(nlmsg, (uint32_t) bytes_read);

NLMSG_OK() expects an int for the second argument.  Assuming truncation isn't an issue here, wouldn't it be better to cast to an int instead?

-Ossama