summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-21 17:15:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-21 18:06:59 +0100
commit0b598e4f877ba28603985031b98d4d592464ade7 (patch)
treede12d7e6f73f80b95eba54a9d7349eba119fe2fa /kernel
parentMAINTAINERS: Add SoundWire entry (diff)
downloadlinux-0b598e4f877ba28603985031b98d4d592464ade7.tar.xz
linux-0b598e4f877ba28603985031b98d4d592464ade7.zip
virt: vbox: use %pap format for printing resource_size_t
resource_size_t may be larger than pointers depending on configuration, so we can run into this build warning: drivers/virt/vboxguest/vboxguest_linux.c: In function 'vbg_pci_probe': drivers/virt/vboxguest/vboxguest_linux.c:295:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] drivers/virt/vboxguest/vboxguest_linux.c:367:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] This uses the special %pap to print the address by reference. Fixes: 0ba002bc4393 ("virt: Add vboxguest driver for Virtual Box Guest integration") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions