aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorArnd Bergmann2017-12-21 17:15:18 +0100
committerGreg Kroah-Hartman2017-12-21 18:06:59 +0100
commit0b598e4f877ba28603985031b98d4d592464ade7 (patch)
treede12d7e6f73f80b95eba54a9d7349eba119fe2fa /fs/cifs/smb2pdu.c
parent1443f5b4fb451fdc894e4845ca67b370ed897a94 (diff)
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 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions