numam-spdk/test/nvme/compliance
Richael Zhuang 711a4a70e5 test: fix build error about type-limits on arm64
There is an build error on arm64:
nvme_compliance.c:203:42: error: comparison is always true due to
limited range of data type [-Werror=type-limits]
while ((op = getopt(argc, argv, "gr:")) != -1) {

For "op" is defined as "char" here. "char" is "unsigned char" on arm
and "signed char" on x86 by default. So change its type to "int"
to avoid this error.

Change-Id: I1f9fa8e0112538e005e8b88c1bfda9257b3f517e
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9853
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
2021-10-14 09:51:14 +00:00
..
.gitignore test/nvme: add nvme_compliance test app 2021-09-28 07:30:28 +00:00
compliance.sh test/vfio-user: enable NVMe compliance tests with vfio-user 2021-10-11 01:42:33 +00:00
Makefile test/nvme: add nvme_compliance test app 2021-09-28 07:30:28 +00:00
nvme_compliance.c test: fix build error about type-limits on arm64 2021-10-14 09:51:14 +00:00