summary refs log tree commit diff
path: root/kvm_sys
diff options
context:
space:
mode:
authorChirantan Ekbote <chirantan@chromium.org>2020-05-25 18:30:24 +0900
committerCommit Bot <commit-bot@chromium.org>2020-06-04 06:09:30 +0000
commite618bf7ec514aaf4d76fd83319a97c7ab9796035 (patch)
tree25fddeec159763c1bbdefdd112266567b643cd67 /kvm_sys
parent5f1a64892b714885f6c7405084a390467c03201a (diff)
downloadcrosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar.gz
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar.bz2
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar.lz
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar.xz
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.tar.zst
crosvm-e618bf7ec514aaf4d76fd83319a97c7ab9796035.zip
sys_util: Make ioctl number method a const fn
This allows us to define const variables that are the return value of
the method, which we can then use in match statements.

BUG=b:157189438
TEST=unit tests

Change-Id: I2475c59bfd43ec9ec149a6b688bf680fa2361a0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2214962
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
Diffstat (limited to 'kvm_sys')
0 files changed, 0 insertions, 0 deletions