summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hyperv_vmbus.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2020-04-06 12:43:15 +0200
committerWei Liu <wei.liu@kernel.org>2020-04-23 15:17:11 +0200
commitb0a284dc65b401a508dc2c5ed7d465884220f607 (patch)
treeee5f7aa7032acddffe5e536b1d07d0e2d0167d61 /drivers/hv/hyperv_vmbus.h
parentDrivers: hv: avoid passing opaque pointer to vmbus_onmessage() (diff)
downloadlinux-b0a284dc65b401a508dc2c5ed7d465884220f607.tar.xz
linux-b0a284dc65b401a508dc2c5ed7d465884220f607.zip
Drivers: hv: make sure that 'struct vmbus_channel_message_header' compiles correctly
Strictly speaking, compiler is free to use something different from 'u32' for 'enum vmbus_channel_message_type' (e.g. char) but it doesn't happen in real life, just add a BUILD_BUG_ON() guardian. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20200406104316.45303-1-vkuznets@redhat.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
0 files changed, 0 insertions, 0 deletions