2fd7a8a231
atoll also doesn't have error check. Hence replace atoll by spdk_strtoll. Drop in replacement of atoll by spdk_strtoll doesn't have error check but current use cases of atoll are for ID and spdk_strtoll returns explicit error code instead of zero. Hence this change is better than nothing and will make possible for SPDK to ban not only atoi but also atol and atoll. Future patches may add additional error check if necessary. Change-Id: I047e89bc9053d9f19831711da032be99cdecfaa7 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/442493 Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
cli | ||
hello_world | ||
Makefile |