On Fri, 3 Mar 2017 15:58:13 +0000 Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 3 March 2017 at 15:55, G 3 <programmingk...@gmail.com> wrote: > > Here is the patch. I think we should let Mark or some else test it to see if > > it does fix the problem before a real patch is submitted. > > > > --- > > hw/9pfs/9p-util.h | 4 ++++ > > 1 file changed, 4 insertions(+) > > We can't take any patch without a Signed-off-by: line, not > even a three line one. > > > > > diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h > > index 091f3ce..254d2a9 100644 > > --- a/hw/9pfs/9p-util.h > > +++ b/hw/9pfs/9p-util.h > > @@ -13,6 +13,10 @@ > > #ifndef QEMU_9P_UTIL_H > > #define QEMU_9P_UTIL_H > > > > +#ifndef O_PATH > > + #define O_PATH 0 > > +#endif > > Could use a comment explaining why it's OK to define it in > a way that means it's a no-op on hosts without it. > Right. I'll send a patch with an appropriate comment then. > > + > > static inline void close_preserve_errno(int fd) > > { > > int serrno = errno; > > -- > > 2.10.2 > > thanks > -- PMM
pgp4MROdzv9qO.pgp
Description: OpenPGP digital signature