Skip to content

Commit

Permalink
Add hint about missing OPAL support in kernel.
Browse files Browse the repository at this point in the history
Unfortunately there is currently no way how
to make difference between device lacking SED OPAL support
state and kernel missing SED OPAL support via disabled interface
via configure option.
  • Loading branch information
oniko authored and mbroz committed Nov 6, 2023
1 parent ee31159 commit 4543a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ int crypt_opal_supported(struct crypt_device *cd, struct device *opal_device)
if (r == -ENOTSUP)
log_err(cd, _("cryptsetup library SED OPAL2 support is disabled."));
else
log_err(cd, _("Device %s does not support OPAL2 HW encryption."),
log_err(cd, _("Device %s or kernel does not support OPAL2 HW encryption."),
device_path(opal_device));
r = -EINVAL;
} else
Expand Down

0 comments on commit 4543a44

Please sign in to comment.