+56
−30
Loading
Safety improvements have been introduced (ctrlr/nbdev null checks, macros wrapped in do/while, and macro arguments enclosed in parentheses), along with a single location where the log format and arguments can be modified, allowing for future extensions. This change unifies the approach with what has already been done in lib/nvme. Change-Id: I3b8acf6b4f6c2ac66949362daa1e228160c47177 Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26687 Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>