Commit cec5d0ac authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

doc: fix deprecation.md typo



Registration is done with SPDK_LOG_DEPRECATION_REGISTER(), not
SPDK_DEPRECATION_REGISTER().

Signed-off-by: default avatarJim Harris <jim.harris@samsung.com>
Change-Id: I47681673c108177e8045c798b6dba5fff62717b8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23962


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent f3cef5e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ Each entry must describe what will be removed and can suggest the future use or
Specific future SPDK release for the removal must be provided.
ABI cannot be removed without providing deprecation notice for at least single SPDK release.

Deprecated code paths must be registered with `SPDK_DEPRECATION_REGISTER()` and logged with
Deprecated code paths must be registered with `SPDK_LOG_DEPRECATION_REGISTER()` and logged with
`SPDK_LOG_DEPRECATED()`. The tag used with these macros will appear in the SPDK
log at the warn level when `SPDK_LOG_DEPRECATED()` is called, subject to rate limits.
The tags can be matched with the level 4 headers below.