From: Fam Zheng <famz@redhat.com>
To: Greg Kurz <groug@kaod.org>
Cc: qemu-devel@nongnu.org, leo@gaspard.io
Subject: Re: [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file security mode
Date: Wed, 24 May 2017 06:27:46 +0800 [thread overview]
Message-ID: <20170523222746.GA12279@lemon.lan> (raw)
In-Reply-To: <20170523170406.6e862ab2@bahia.ttt.fr.ibm.com>
On Tue, 05/23 17:04, Greg Kurz wrote:
> > CC hw/9pfs/9p-xattr-user.o
> > In file included from /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c:18:0:
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c: In function ‘local_set_mapped_file_attrat’:
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-util.h:19:5: error: ‘map_dirfd’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
> > close(fd);
> > ^~~~~~~~~
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c:235:9: note: ‘map_dirfd’ was declared here
> > int map_dirfd, map_fd;
> > ^~~~~~~~~
> > cc1: all warnings being treated as errors
>
> This is a false positive AFAICT... what compiler is this ?
It's gcc, as in the snipped package list above.
Fam
next prev parent reply other threads:[~2017-05-23 22:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 14:32 [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file security mode Greg Kurz
2017-05-23 14:32 ` [Qemu-devel] [PATCH v2 1/4] 9pfs: check return value of v9fs_co_name_to_path() Greg Kurz
2017-05-23 14:32 ` [Qemu-devel] [PATCH v2 2/4] 9pfs: local: resolve special directories in paths Greg Kurz
2017-05-23 15:49 ` Eric Blake
2017-05-23 14:32 ` [Qemu-devel] [PATCH v2 3/4] 9pfs: local: simplify file opening Greg Kurz
2017-05-23 15:51 ` Eric Blake
2017-05-23 21:55 ` Greg Kurz
2017-05-23 14:32 ` [Qemu-devel] [PATCH v2 4/4] 9pfs: local: metadata file for the VirtFS root Greg Kurz
2017-05-23 17:13 ` Eric Blake
2017-05-23 18:47 ` Greg Kurz
2017-05-23 23:08 ` Leo Gaspard
2017-05-24 8:44 ` Greg Kurz
2017-05-23 14:47 ` [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file security mode no-reply
2017-05-23 15:04 ` Greg Kurz
2017-05-23 22:27 ` Fam Zheng [this message]
2017-05-23 22:59 ` Leo Gaspard
2017-05-24 8:54 ` Greg Kurz
2017-05-25 0:38 ` Leo Gaspard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170523222746.GA12279@lemon.lan \
--to=famz@redhat.com \
--cc=groug@kaod.org \
--cc=leo@gaspard.io \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).