Hi Stephen, > -----Original Message----- > From: Stephen Hemminger <[email protected]> > Sent: Saturday, December 19, 2020 1:14 AM > To: Xia, Chenbo <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; Liang, > Cunming <[email protected]>; Lu, Xiuchun <[email protected]>; Li, > Miao <[email protected]>; Wu, Jingjing <[email protected]> > Subject: Re: [PATCH 1/9] lib: introduce vfio-user library > > On Fri, 18 Dec 2020 15:38:43 +0800 > Chenbo Xia <[email protected]> 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.
Got it. Will fix in v2. Thanks! Chenbo

