[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file
From: |
Greg Kurz |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file security mode |
Date: |
Tue, 23 May 2017 17:04:06 +0200 |
On Tue, 23 May 2017 07:47:09 -0700 (PDT)
address@hidden wrote:
> Hi,
>
> This series failed build test on s390x host. Please find the details below.
>
> Message-id: address@hidden
> Type: series
> Subject: [Qemu-devel] [PATCH v2 0/4] 9pfs: local: fix metadata of mapped-file
> security mode
>
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> # Testing script will be invoked under the git checkout with
> # HEAD pointing to a commit that has the patches applied on top of "base"
> # branch
> set -e
> echo "=== ENV ==="
> env
> echo "=== PACKAGES ==="
> rpm -qa
> echo "=== TEST BEGIN ==="
> CC=$HOME/bin/cc
> INSTALL=$PWD/install
> BUILD=$PWD/build
> echo -n "Using CC: "
> realpath $CC
> mkdir -p $BUILD $INSTALL
> SRC=$PWD
> cd $BUILD
> $SRC/configure --cc=$CC --prefix=$INSTALL
> make -j4
> # XXX: we need reliable clean up
> # make check -j4 V=1
> make install
> === TEST SCRIPT END ===
>
> Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
[...]
> 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 ?
> /var/tmp/patchew-tester-tmp-5niyvzwz/src/rules.mak:69: recipe for target
> 'hw/9pfs/9p-local.o' failed
> make: *** [hw/9pfs/9p-local.o] Error 1
> make: *** Waiting for unfinished jobs....
> CC hw/9pfs/9p-posix-acl.o
> === OUTPUT END ===
>
> Test command exited with code: 2
>
>
> ---
> Email generated automatically by Patchew [http://patchew.org/].
> Please send your feedback to address@hidden
pgpHX8eWCYPk9.pgp
Description: OpenPGP digital signature