diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-12 16:51:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-13 14:19:46 +0100 |
commit | d6088e9a89f7c6fe9720978196c4d9799fd16c29 (patch) | |
tree | 4b44054fd8f33c2725d56bd37c28457e09477dac /COPYING | |
parent | uio_hv_generic: fix type mismatch warnings (diff) | |
download | linux-d6088e9a89f7c6fe9720978196c4d9799fd16c29.tar.xz linux-d6088e9a89f7c6fe9720978196c4d9799fd16c29.zip |
uio_hv_generic: fix new type mismatch warnings
In commit 72d146578950 ("uio_hv_generic: fix type mismatch warnings"),
I addressed some warnings that show up with CONFIG_X86_PAE, now a new
change has added more of the same:
drivers/uio/uio_hv_generic.c: In function 'hv_uio_probe':
drivers/uio/uio_hv_generic.c:205:5: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
drivers/uio/uio_hv_generic.c:225:5: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
The fix is the same as before, casting to uintptr_t as an intermediate.
Fixes: e7d214642a19 ("uio_hv_generic: create send and receive buffers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions