From e15c260aafc7405d8ab8ca9c7d3e6bbadea26f3b Mon Sep 17 00:00:00 2001 From: Francis Pravin Date: Mon, 13 May 2024 14:26:44 +0530 Subject: [PATCH] nvme: fix fw-commit MUD result message As per spec, 0th bit is set when the controller detects an overlapping firmware/boot partition image update command sequence due to processing a command from an Admin Submission Queue on a controller and the 1st bit is set due to processing the command from Management Endpoint. So, fixed the MUD result message. Signed-off-by: Francis Pravin --- nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvme.c b/nvme.c index 5409ddf2..d722b91e 100644 --- a/nvme.c +++ b/nvme.c @@ -5019,11 +5019,11 @@ static void fw_commit_print_mud(struct nvme_dev *dev, __u32 result) if (result & 0x1) printf("Detected an overlapping firmware/boot partition image update command\n" - "sequence due to processing a command from a Management Endpoint"); + "sequence due to processing a command from an Admin SQ on a controller\n"); if (result >> 1 & 0x1) printf("Detected an overlapping firmware/boot partition image update command\n" - "sequence due to processing a command from an Admin SQ on a controller"); + "sequence due to processing a command from a Management Endpoint\n"); } static int fw_commit(int argc, char **argv, struct command *cmd, struct plugin *plugin) -- 2.50.1