numam-spdk/app
Krzysztof Karas 8f4c7cc33a spdk_top: fix warning on build
During make operation warning -Walloc-size-larger-than
is seen. The cause is the type of threads_count variable,
which can store value up to MAX_SIZE threshold. The value
of the variable is then divided by 8 and multiplied by 32,
what exceeds the MAX_SIZE limit.

To fix the problem I changed value of threads_count to uint16_t.
Its maximum value is closer to that of hard coded limit of threads
RPC_MAX_THREADS than size_t.

Change-Id: I7c76db21c328166c074d564d9c1d6d29ae8a07da
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11177
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-01-21 07:49:23 +00:00
..
iscsi_tgt net: Remove library 2021-07-13 08:57:58 +00:00
iscsi_top build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvmf_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_dd spelling: app 2021-11-30 09:04:05 +00:00
spdk_lspci app: add missed spdk_env_fini() call when exiting 2022-01-11 14:19:05 +00:00
spdk_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_top spdk_top: fix warning on build 2022-01-21 07:49:23 +00:00
trace app/trace: include relation information while printing json 2021-10-21 17:57:33 +00:00
trace_record app/trace_record: modify help case to return 0 2021-02-26 11:50:58 +00:00
vhost event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
Makefile app: exclude spdk_top from mingw cross builds 2021-03-03 08:16:54 +00:00