ndctl: fix input/output size for Intel firmware update DSM

Commit fdfab22464c7 upstream.

The FW_START DSM should have input/out of 0/8, the code incorrectly
is passing in 4/4. This is causing failure with newer BIOS that check
the input/output parameters more strictly.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/ndctl/lib/intel.c b/ndctl/lib/intel.c
index 8daf5d2..3e58874 100644
--- a/ndctl/lib/intel.c
+++ b/ndctl/lib/intel.c
@@ -441,8 +441,8 @@
 
 	BUILD_ASSERT(sizeof(struct nd_intel_fw_start) == 8);
 
-	cmd = alloc_intel_cmd(dimm, ND_INTEL_FW_START_UPDATE,
-			sizeof(cmd->intel->start) - 4, 4);
+	cmd = alloc_intel_cmd(dimm, ND_INTEL_FW_START_UPDATE, 0,
+			sizeof(cmd->intel->start));
 	if (!cmd)
 		return NULL;