summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorYisheng Xie2018-05-21 13:57:45 +0200
committerAlex Williamson2018-06-08 18:24:33 +0200
commite77addf018f0c8d947ddc0bef2cd6d4791da7dde (patch)
tree8bb90082ddb4b0312c18c08af2f9ae2459c322be /samples/Kconfig
parentvfio/mdev: Re-order sysfs attribute creation (diff)
downloadkernel-qcow2-linux-e77addf018f0c8d947ddc0bef2cd6d4791da7dde.tar.gz
kernel-qcow2-linux-e77addf018f0c8d947ddc0bef2cd6d4791da7dde.tar.xz
kernel-qcow2-linux-e77addf018f0c8d947ddc0bef2cd6d4791da7dde.zip
vfio: use match_string() helper
match_string() returns the index of an array for a matching string, which can be used intead of open coded variant. Cc: Alex Williamson <alex.williamson@redhat.com> Cc: kvm@vger.kernel.org Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions