[dpdk-dev] [PATCH 1/9] lib: introduce vfio-user library

Stephen Hemminger stephen at networkplumber.org
Fri Dec 18 18:13:58 CET 2020


On Fri, 18 Dec 2020 15:38:43 +0800
Chenbo Xia <chenbo.xia at intel.com> wrote:

> +inline void vfio_user_close_msg_fds(VFIO_USER_MSG *msg)
> +{
> +	int i;
> +
> +	for (i = 0; i < msg->fd_num; i++)
> +		close(msg->fds[i]);
> +}
> +

Please don't use non-static inlines.


More information about the dev mailing list