Spdk/lib/accel
Szulik, Maciej dcf30711ef build: add explicit vars init to silence LTO related warning
When Link Time Optimization is enabled, compiler can sometimes produce
additional warnings saying that some variables may be uninitialized.

To supress the warning it is enough to add explicit initialization
of the variable causing the issue, in this case '*module_name = NULL'
and "*writer = NULL".

Signed-off-by: Szulik, Maciej <maciej.szulik@intel.com>
Change-Id: I30492115b28a18554b08a6f575cbcc9538f3b848
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14849
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-10-05 10:24:53 +00:00
..
accel_internal.h accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
accel_rpc.c build: add explicit vars init to silence LTO related warning 2022-10-05 10:24:53 +00:00
accel_sw.c accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
accel.c accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
Makefile configure/misc: make ISA-L a hard dependency 2022-09-20 10:18:54 +00:00
spdk_accel.map accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00