Spdk/lib/ftl/utils
Kozlowski Mateusz a7f4a2db7f lib/ftl: Validate l2p_dram_limit parameter
Disallow 0 value as parameter - avoids a segmentation fault.

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
Signed-off-by: Mateusz Brenk <mateusz.brenk@intel.com>
Change-Id: I492256ff621da3be11239d2fd705d8cc54bfe7b7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15256
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-11-22 10:01:30 +00:00
..
ftl_addr_utils.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_bitmap.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_bitmap.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_conf.c lib/ftl: Validate l2p_dram_limit parameter 2022-11-22 10:01:30 +00:00
ftl_conf.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_defs.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_df.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_log.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_md.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_md.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_mempool.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_mempool.h update Intel copyright notices 2022-11-10 08:28:53 +00:00