For the number of trace entries, change strtoull to spdk_strtoll because no issue will occur by the change. Besides, getopt guarantees that if an argument is followed by a semicolon, optstring of it is not NULL. spdk_app_parse_args() had unnecessary NULL pointer check related with this. Hence remove those NULL pointer checks too. Change-Id: I33d0328205d1765f70f70fc734d0d8b4165fef5e Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/441641 Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
rpc | ||
subsystems | ||
app.c | ||
json_config.c | ||
json_config.h | ||
Makefile | ||
reactor.c | ||
rpc.c | ||
subsystem.c |