From e5c556575fc8a2d889bbb7e67d44915373c3a0e6 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 7 Nov 2025 18:12:50 +0100 Subject: [PATCH] plugins/sandisk: update calling arguments The last commit was build against the old head which didn't have the new API. Update the run_wdc_nvme_check_supported_log_page call. Fixes: 1d82b3dfd27a ("sndk: Add plugin command support for SN-861") Signed-off-by: Daniel Wagner --- plugins/sandisk/sandisk-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sandisk/sandisk-utils.c b/plugins/sandisk/sandisk-utils.c index 83b7b46391..b9d47b57c4 100644 --- a/plugins/sandisk/sandisk-utils.c +++ b/plugins/sandisk/sandisk-utils.c @@ -754,7 +754,7 @@ __u64 sndk_get_enc_drive_capabilities(struct nvme_global_ctx *ctx, SNDK_DRIVE_CAP_VU_FID_CLEAR_PCIE); /* verify the 0xC0 log page is supported */ - if (run_wdc_nvme_check_supported_log_page(r, dev, + if (run_wdc_nvme_check_supported_log_page(ctx, hdl, SNDK_LATENCY_MON_LOG_ID, 0)) capabilities |= SNDK_DRIVE_CAP_C0_LOG_PAGE;