diff options
author | Ondrej Kozina <okozina@redhat.com> | 2023-11-03 14:41:59 +0100 |
---|---|---|
committer | Milan Broz <gmazyland@gmail.com> | 2023-11-06 17:12:31 +0000 |
commit | 4543a445a06d12868ad9229a8d7e725b0addf469 (patch) | |
tree | 42745b68fcda3cba359a0c0324eedfd518af68db | |
parent | ee31159c687602e3c0902aed978a457345ee35f1 (diff) | |
download | cryptsetup-4543a445a06d12868ad9229a8d7e725b0addf469.tar.gz |
Add hint about missing OPAL support in kernel.
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.
-rw-r--r-- | lib/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.c b/lib/setup.c index 436ab303..889c4d1f 100644 --- a/lib/setup.c +++ b/lib/setup.c @@ -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 |