Skip to content

Commit b092a10

Browse files
committed
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: 1d82b3d ("sndk: Add plugin command support for SN-861") Signed-off-by: Daniel Wagner <[email protected]>
1 parent ed6ba5e commit b092a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/sandisk/sandisk-utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ __u64 sndk_get_enc_drive_capabilities(struct nvme_global_ctx *ctx,
754754
SNDK_DRIVE_CAP_VU_FID_CLEAR_PCIE);
755755

756756
/* verify the 0xC0 log page is supported */
757-
if (run_wdc_nvme_check_supported_log_page(r, dev,
757+
if (run_wdc_nvme_check_supported_log_page(ctx, hdl,
758758
SNDK_LATENCY_MON_LOG_ID, 0))
759759
capabilities |= SNDK_DRIVE_CAP_C0_LOG_PAGE;
760760

0 commit comments

Comments
 (0)