711a4a70e5
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> |
||
---|---|---|
.. | ||
.gitignore | ||
compliance.sh | ||
Makefile | ||
nvme_compliance.c |