aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2023-07-25 22:19:40 -0700
committerVishal Verma <[email protected]>2023-07-28 13:16:54 -0600
commitad64f5952ce3ea565c7f76ec37ab41df0dde773a (patch)
tree1f59e4c7b4050b00270578fb00e6e2abc7f37b71 /lib/test-string_helpers.c
parent3de8cd2242419fb0adaee629d488acfd6cd93c92 (diff)
cxl/memdev: Only show sanitize sysfs files when supported
If the device does not support Sanitize or Secure Erase commands, hide the respective sysfs interfaces such that the operation can never be attempted. In order to be generic, keep track of the enabled security commands found in the CEL - the driver does not support Security Passthrough. Signed-off-by: Davidlohr Bueso <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions