Messages in this thread | | | Subject | Re: [PATCH net-next] vhost: switch to use new message format | From | Jason Wang <> | Date | Mon, 6 Aug 2018 11:08:40 +0800 |
| |
On 2018年08月05日 04:21, David Miller wrote: > From: Jason Wang <jasowang@redhat.com> > Date: Fri, 3 Aug 2018 15:04:51 +0800 > >> So fixing this by introducing a new message type with an explicit >> 32bit reserved field after type like: >> >> struct vhost_msg_v2 { >> int type; >> __u32 reserved; > Please use fixed sized types consistently. Use 's32' instead of 'int' > here. > > Thanks!
Ok, V2 will be posted soon.
And it looks to me u32 is sufficient.
Thanks
| |