4b3c56b288
The spdk_notify_type_register() will deep-copy contents of variable, so the variable no need to stay valid through whole program lifetime. Change-Id: If84db642b59d949a8a527312b59216fd8856f288 Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453149 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>