From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: gaetan.rivet@6wind.com
Subject: [dpdk-test-report] |FAILURE| pw23524 [PATCH v5 11/12] crypto: use generic vdev for probe and remove
Date: 12 Apr 2017 07:12:04 -0700 [thread overview]
Message-ID: <e81775$11pt76t@fmsmga001.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 88279 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/23524
_Compilation issues_
Submitter: Gaetan Rivet <gaetan.rivet@6wind.com>
Date: Tue, 11 Apr 2017 17:44:15 +0200
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:4b6fa6d32d2acfce5960522ba904929ee5274eb7
Patch23524-23524 --> compile error
Build Summary: 18 Builds Done, 0 Successful, 18 Failures
Test environment and configuration as below:
OS: RHEL7.2_64
Kernel Version:3.10.0-514.10.2.el7.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
Clang Version:3.4.2
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-shared
OS: FreeBSD10.3_64
Kernel Version:10.3-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
Clang Version:3.4.1
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc
OS: FC24_64
Kernel Version:4.9.13-100.fc24.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
Clang Version:3.8.0
x86_64-native-linuxapp-clang
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-gcc-debug
OS: UB1604_64
Kernel Version:4.4.0-64-generic
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Clang Version:3.8.0
i686-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-gcc
OS: CentOS7_64
Kernel Version:3.10.0-514.10.2.el7.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
Clang Version:3.4.2
i686-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-gcc
Failed Build #1:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
Failed Build #2:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
Failed Build #3:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
Failed Build #4:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function 'rte_vdev_device_name' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Werror,-Wint-conversion]
name = rte_vdev_device_name(vdev);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function 'rte_vdev_device_args' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: note: did you mean 'rte_vdev_device_name'?
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: note: 'rte_vdev_device_name' declared here
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:350:15: note: passing argument to parameter 'input_args' here
const char *input_args)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:437:4: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:40: note: passing argument to parameter 'name' here
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: incompatible pointer types initializing 'rte_vdev_probe_t *' (aka 'int (*)(const char *, const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: incompatible pointer types initializing 'rte_vdev_remove_t *' (aka 'int (*)(const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #5:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: 'struct rte_vdev_device' declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function 'cryptodev_scheduler_remove':
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function 'rte_vdev_device_name' [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of 'rte_vdev_device_name' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: 'struct rte_vdev_device' declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function 'cryptodev_scheduler_probe':
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function 'rte_vdev_device_args' [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of 'rte_vdev_device_args' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of 'scheduler_parse_init_params' makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected 'const char *' but argument is of type 'int'
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of 'cryptodev_scheduler_create' makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected 'const char *' but argument is of type 'int'
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for 'cryptodev_scheduler_pmd_drv.probe') [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for 'cryptodev_scheduler_pmd_drv.remove') [-Werror]
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function 'rte_vdev_device_name' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Werror,-Wint-conversion]
name = rte_vdev_device_name(vdev);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function 'rte_vdev_device_args' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: note: did you mean 'rte_vdev_device_name'?
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: note: 'rte_vdev_device_name' declared here
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:350:15: note: passing argument to parameter 'input_args' here
const char *input_args)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:437:4: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:40: note: passing argument to parameter 'name' here
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: incompatible pointer types initializing 'rte_vdev_probe_t *' (aka 'int (*)(const char *, const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: incompatible pointer types initializing 'rte_vdev_remove_t *' (aka 'int (*)(const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #7:
OS: FC24_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #8:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #9:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #10:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #11:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #12:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function 'rte_vdev_device_name' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Werror,-Wint-conversion]
name = rte_vdev_device_name(vdev);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function 'rte_vdev_device_args' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: note: did you mean 'rte_vdev_device_name'?
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: note: 'rte_vdev_device_name' declared here
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:350:15: note: passing argument to parameter 'input_args' here
const char *input_args)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:437:4: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:40: note: passing argument to parameter 'name' here
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: incompatible pointer types initializing 'rte_vdev_probe_t *' (aka 'int (*)(const char *, const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: incompatible pointer types initializing 'rte_vdev_remove_t *' (aka 'int (*)(const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #13:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #14:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror=int-conversion]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mempool.h:73:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:65,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_crypto.h:48,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cryptodev.h:49,
from /home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:34:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:438:31: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
init_params.def_p.socket_id);
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror=int-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’)
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: note: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’)
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_pmd.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'scheduler' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'crypto' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #15:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
Failed Build #16:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: error: implicit declaration of function 'rte_vdev_device_name' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Werror,-Wint-conversion]
name = rte_vdev_device_name(vdev);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: declaration of 'struct rte_vdev_device' will not be visible outside of this function [-Werror,-Wvisibility]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function 'rte_vdev_device_args' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: note: did you mean 'rte_vdev_device_name'?
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:9: note: 'rte_vdev_device_name' declared here
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
rte_vdev_device_args(vdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:350:15: note: passing argument to parameter 'input_args' here
const char *input_args)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:437:4: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:447:36: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Werror,-Wint-conversion]
return cryptodev_scheduler_create(rte_vdev_device_name(vdev),
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:40: note: passing argument to parameter 'name' here
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:11: error: incompatible pointer types initializing 'rte_vdev_probe_t *' (aka 'int (*)(const char *, const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.probe = cryptodev_scheduler_probe,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:453:12: error: incompatible pointer types initializing 'rte_vdev_remove_t *' (aka 'int (*)(const char *)') with an expression of type 'int (struct rte_vdev_device *)' [-Werror,-Wincompatible-pointer-types]
.remove = cryptodev_scheduler_remove
^~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
Failed Build #17:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
Failed Build #18:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_remove(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:196:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_remove’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: implicit declaration of function ‘rte_vdev_device_name’ [-Werror=implicit-function-declaration]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:2: error: nested extern declaration of ‘rte_vdev_device_name’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:205:7: error: assignment makes pointer from integer without a cast [-Werror]
name = rte_vdev_device_name(vdev);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:418:34: error: ‘struct rte_vdev_device’ declared inside parameter list [-Werror]
cryptodev_scheduler_probe(struct rte_vdev_device *vdev)
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: In function ‘cryptodev_scheduler_probe’:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: implicit declaration of function ‘rte_vdev_device_args’ [-Werror=implicit-function-declaration]
rte_vdev_device_args(vdev));
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: nested extern declaration of ‘rte_vdev_device_args’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:434:9: error: passing argument 2 of ‘scheduler_parse_init_params’ makes pointer from integer without a cast [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:349:1: note: expected ‘const char *’ but argument is of type ‘int’
scheduler_parse_init_params(struct scheduler_init_params *params,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:436:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Werror=format=]
RTE_LOG(INFO, PMD, "Initialising %s on NUMA node %d\n",
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:448:8: error: passing argument 1 of ‘cryptodev_scheduler_create’ makes pointer from integer without a cast [-Werror]
&init_params);
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:114:1: note: expected ‘const char *’ but argument is of type ‘int’
cryptodev_scheduler_create(const char *name,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c: At top level:
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: initialization from incompatible pointer type [-Werror]
.probe = cryptodev_scheduler_probe,
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:452:2: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.probe’) [-Werror]
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: initialization from incompatible pointer type [-Werror]
};
^
/home/patchWorkOrg/compilation/drivers/crypto/scheduler/scheduler_pmd.c:454:1: error: (near initialization for ‘cryptodev_scheduler_pmd_drv.remove’) [-Werror]
cc1: all warnings being treated as errors
DPDK STV team
reply other threads:[~2017-04-12 14:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='e81775$11pt76t@fmsmga001.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=gaetan.rivet@6wind.com \
--cc=test-report@dpdk.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).