SPD_KEY_ERRS_CODE
ret = nvlist_add_uint32(nvl, SPD_KEY_ERRS_CODE, err);
if ((ret = nvlist_lookup_uint32(check, SPD_KEY_ERRS_CODE,