vdpa: allow a 32 bit vq alignment
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Apr 2020 20:26:21 +0000 (16:26 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Apr 2020 10:05:30 +0000 (06:05 -0400)
commit425a5070239aac22ed8fa4732eca624293f88546
tree25596d4b8db3939543e3e3680187fd2acbecc16a
parent5038a5679094ca21980b668f8d86b4dfb6ebbf0d
vdpa: allow a 32 bit vq alignment

get_vq_align returns u16 now, but that's not enough for
systems/devices with 64K pages. All callers assign it to
a u32 variable anyway, so let's just change the return
value type to u32.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c
drivers/vdpa/vdpa_sim/vdpa_sim.c
include/linux/vdpa.h