[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child
From: |
no-reply |
Subject: |
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description |
Date: |
Fri, 26 Jun 2020 03:38:12 -0700 (PDT) |
Patchew URL: 20200626102744.15053-1-f4bug@amsat.org/">https://patchew.org/QEMU/20200626102744.15053-1-f4bug@amsat.org/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#! /bin/bash
export ARCH=x86_64
make docker-image-fedora V=1 NETWORK=1
time make docker-test-mingw@fedora J=14 NETWORK=1
=== TEST SCRIPT END ===
CC x86_64-softmmu/target/i386/arch_memory_mapping.o
CC x86_64-softmmu/target/i386/arch_dump.o
/tmp/qemu-test/src/hw/i386/pc_q35.c: In function 'pc_q35_init':
/tmp/qemu-test/src/hw/i386/pc_q35.c:310:31: error: passing argument 1 of
'smbus_eeprom_init' from incompatible pointer type
[-Werror=incompatible-pointer-types]
310 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ~~~~^~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:32:32: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
32 | void smbus_eeprom_init(Object *parent_obj, const char
*child_name_prefix,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/i386/pc_q35.c:310:40: error: passing argument 2 of
'smbus_eeprom_init' makes pointer from integer without a cast
[-Werror=int-conversion]
310 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ^
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:32:56: note: expected 'const
char *' but argument is of type 'int'
32 | void smbus_eeprom_init(Object *parent_obj, const char
*child_name_prefix,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/i386/pc_q35.c:310:9: error: too few arguments to function
'smbus_eeprom_init'
310 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/i386/pc_q35.c:35:
---
32 | void smbus_eeprom_init(Object *parent_obj, const char
*child_name_prefix,
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: hw/i386/pc_q35.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC aarch64-softmmu/hw/arm/mainstone.o
CC aarch64-softmmu/hw/arm/microbit.o
---
CC aarch64-softmmu/hw/arm/realview.o
CC aarch64-softmmu/hw/arm/sbsa-ref.o
/tmp/qemu-test/src/hw/i386/pc_piix.c: In function 'pc_init1':
/tmp/qemu-test/src/hw/i386/pc_piix.c:290:31: error: passing argument 1 of
'smbus_eeprom_init' from incompatible pointer type
[-Werror=incompatible-pointer-types]
290 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ~~~~^~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:32:32: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
32 | void smbus_eeprom_init(Object *parent_obj, const char
*child_name_prefix,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/i386/pc_piix.c:290:40: error: passing argument 2 of
'smbus_eeprom_init' makes pointer from integer without a cast
[-Werror=int-conversion]
290 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ^
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:32:56: note: expected 'const
char *' but argument is of type 'int'
32 | void smbus_eeprom_init(Object *parent_obj, const char
*child_name_prefix,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/i386/pc_piix.c:290:9: error: too few arguments to
function 'smbus_eeprom_init'
290 | smbus_eeprom_init(pcms->smbus, 8, NULL, 0);
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/i386/pc_piix.c:48:
---
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
CC aarch64-softmmu/hw/arm/stellaris.o
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: hw/i386/pc_piix.o] Error 1
CC aarch64-softmmu/hw/arm/collie.o
make: *** [Makefile:527: x86_64-softmmu/all] Error 2
make: *** Waiting for unfinished jobs....
CC aarch64-softmmu/hw/arm/versatilepb.o
CC aarch64-softmmu/hw/arm/vexpress.o
---
CC aarch64-softmmu/trace/generated-helpers.o
CC aarch64-softmmu/target/arm/translate-sve.o
/tmp/qemu-test/src/hw/arm/aspeed.c: In function 'palmetto_bmc_i2c_init':
/tmp/qemu-test/src/hw/arm/aspeed.c:387:27: error: passing argument 1 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
387 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 0),
0x50,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:36: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:387:69: error: passing argument 2 of
'smbus_eeprom_init_one' makes pointer from integer without a cast
[-Werror=int-conversion]
387 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 0),
0x50,
| ^~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:60: note: expected 'const
char *' but argument is of type 'int'
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:388:27: error: passing argument 3 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
388 | eeprom_buf);
| ^~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:30:36: note: expected 'I2CBus
*' {aka 'struct I2CBus *'} but argument is of type 'uint8_t *' {aka 'unsigned
char *'}
30 | I2CBus *smbus, uint8_t address,
| ~~~~~~~~^~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:387:5: error: too few arguments to function
'smbus_eeprom_init_one'
387 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 0),
0x50,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/arm/aspeed.c:20:
---
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c: In function 'ast2500_evb_i2c_init':
/tmp/qemu-test/src/hw/arm/aspeed.c:404:27: error: passing argument 1 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
404 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 3),
0x50,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:36: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:404:69: error: passing argument 2 of
'smbus_eeprom_init_one' makes pointer from integer without a cast
[-Werror=int-conversion]
404 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 3),
0x50,
| ^~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:60: note: expected 'const
char *' but argument is of type 'int'
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:405:27: error: passing argument 3 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
405 | eeprom_buf);
| ^~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:30:36: note: expected 'I2CBus
*' {aka 'struct I2CBus *'} but argument is of type 'uint8_t *' {aka 'unsigned
char *'}
30 | I2CBus *smbus, uint8_t address,
| ~~~~~~~~^~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:404:5: error: too few arguments to function
'smbus_eeprom_init_one'
404 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 3),
0x50,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/arm/aspeed.c:20:
---
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c: In function 'sonorapass_bmc_i2c_init':
/tmp/qemu-test/src/hw/arm/aspeed.c:473:27: error: passing argument 1 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
473 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 4),
0x54,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:36: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:473:69: error: passing argument 2 of
'smbus_eeprom_init_one' makes pointer from integer without a cast
[-Werror=int-conversion]
473 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 4),
0x54,
| ^~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:60: note: expected 'const
char *' but argument is of type 'int'
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:474:27: error: passing argument 3 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
474 | eeprom4_54);
| ^~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:30:36: note: expected 'I2CBus
*' {aka 'struct I2CBus *'} but argument is of type 'uint8_t *' {aka 'unsigned
char *'}
30 | I2CBus *smbus, uint8_t address,
| ~~~~~~~~^~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:473:5: error: too few arguments to function
'smbus_eeprom_init_one'
473 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 4),
0x54,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/arm/aspeed.c:20:
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:6: note: declared here
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:487:27: error: passing argument 1 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
487 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 8),
0x56,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:36: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:487:69: error: passing argument 2 of
'smbus_eeprom_init_one' makes pointer from integer without a cast
[-Werror=int-conversion]
487 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 8),
0x56,
| ^~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:60: note: expected 'const
char *' but argument is of type 'int'
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:488:27: error: passing argument 3 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
488 | eeprom8_56);
| ^~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:30:36: note: expected 'I2CBus
*' {aka 'struct I2CBus *'} but argument is of type 'uint8_t *' {aka 'unsigned
char *'}
30 | I2CBus *smbus, uint8_t address,
| ~~~~~~~~^~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:487:5: error: too few arguments to function
'smbus_eeprom_init_one'
487 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 8),
0x56,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/arm/aspeed.c:20:
---
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c: In function 'witherspoon_bmc_i2c_init':
/tmp/qemu-test/src/hw/arm/aspeed.c:526:27: error: passing argument 1 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
526 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 11),
0x51,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:36: note: expected 'Object
*' {aka 'struct Object *'} but argument is of type 'I2CBus *' {aka 'struct
I2CBus *'}
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:526:70: error: passing argument 2 of
'smbus_eeprom_init_one' makes pointer from integer without a cast
[-Werror=int-conversion]
526 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 11),
0x51,
|
^~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:29:60: note: expected 'const
char *' but argument is of type 'int'
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ~~~~~~~~~~~~^~~~~~~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:527:27: error: passing argument 3 of
'smbus_eeprom_init_one' from incompatible pointer type
[-Werror=incompatible-pointer-types]
527 | eeprom_buf);
| ^~~~~~~~~~
| |
---
/tmp/qemu-test/src/include/hw/i2c/smbus_eeprom.h:30:36: note: expected 'I2CBus
*' {aka 'struct I2CBus *'} but argument is of type 'uint8_t *' {aka 'unsigned
char *'}
30 | I2CBus *smbus, uint8_t address,
| ~~~~~~~~^~~~~
/tmp/qemu-test/src/hw/arm/aspeed.c:526:5: error: too few arguments to function
'smbus_eeprom_init_one'
526 | smbus_eeprom_init_one(aspeed_i2c_get_bus(DEVICE(&soc->i2c), 11),
0x51,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/qemu-test/src/hw/arm/aspeed.c:20:
---
29 | void smbus_eeprom_init_one(Object *parent_obj, const char *child_name,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: hw/arm/aspeed.o] Error 1
make: *** [Makefile:527: aarch64-softmmu/all] Error 2
Traceback (most recent call last):
File "./tests/docker/docker.py", line 669, in <module>
sys.exit(main())
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run',
'--label', 'com.qemu.instance.uuid=aca6f125269d481b8b929d0f14068405', '-u',
'1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=',
'-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e',
'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v',
'/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v',
'/var/tmp/patchew-tester-tmp-v5nrghk7/src/docker-src.2020-06-26-06.34.23.4621:/var/tmp/qemu:z,ro',
'qemu:fedora', '/var/tmp/qemu/run', 'test-mingw']' returned non-zero exit
status 2.
filter=--filter=label=com.qemu.instance.uuid=aca6f125269d481b8b929d0f14068405
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-v5nrghk7/src'
make: *** [docker-run-test-mingw@fedora] Error 2
real 3m47.102s
user 0m8.605s
The full log is available at
20200626102744.15053-1-f4bug@amsat.org/testing.docker-mingw@fedora/?type=message">http://patchew.org/logs/20200626102744.15053-1-f4bug@amsat.org/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
- Re: [RFC PATCH 1/3] hw/i2c/smbus_eeprom: Set QOM parent, (continued)
[RFC PATCH 2/3] hw/i2c/smbus_eeprom: Add description based on child name, Philippe Mathieu-Daudé, 2020/06/26
[RFC PATCH 3/3] hw/i2c/smbus_eeprom: Trace reset() event, Philippe Mathieu-Daudé, 2020/06/26
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description, no-reply, 2020/06/26
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description,
no-reply <=
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description, Aleksandar Markovic, 2020/06/26
Re: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description, Markus Armbruster, 2020/06/27