summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sgx
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-01-09 15:02:43 -0800
committerSean Christopherson <seanjc@google.com>2024-01-30 15:29:41 -0800
commit45e4755c39fc2df55f58ea893615a7d45a0fbcc8 (patch)
tree2ad49d62071728b02908779b092fcd80a7d6614e /tools/testing/selftests/sgx
parentc85e986716b03bccfec2e5a577cc1aab4f172ffd (diff)
downloadlinux-stable-45e4755c39fc2df55f58ea893615a7d45a0fbcc8.tar.gz
linux-stable-45e4755c39fc2df55f58ea893615a7d45a0fbcc8.tar.bz2
linux-stable-45e4755c39fc2df55f58ea893615a7d45a0fbcc8.zip
KVM: selftests: Add helpers to read integer module params
Add helpers to read integer module params, which is painfully non-trivial because the pain of dealing with strings in C is exacerbated by the kernel inserting a newline. Don't bother differentiating between int, uint, short, etc. They all fit in an int, and KVM (thankfully) doesn't have any integer params larger than an int. Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://lore.kernel.org/r/20240109230250.424295-24-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/sgx')
0 files changed, 0 insertions, 0 deletions