diff options
| author | Arnd Bergmann <[email protected]> | 2015-10-07 07:59:34 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2015-11-08 21:24:43 +0000 |
| commit | fdcb4b2e78220bde95ce4ba3213088e3a1f1cec6 (patch) | |
| tree | 1ec34697abd3aae920b523881e3fde74508157f7 /lib/string.c | |
| parent | NTB: unify translation addresses (diff) | |
| download | kernel-fdcb4b2e78220bde95ce4ba3213088e3a1f1cec6.tar.gz kernel-fdcb4b2e78220bde95ce4ba3213088e3a1f1cec6.zip | |
NTB: fix 32-bit compiler warning
resource_size_t may be 32-bit wide on some architectures, which causes
this warning when building the NTB code:
drivers/ntb/ntb_transport.c: In function 'ntb_transport_link_work':
drivers/ntb/ntb_transport.c:828:46: warning: right shift count >= width of type [-Wshift-count-overflow]
The warning is harmless but can be avoided by using the upper_32_bits()
macro.
Signed-off-by: Arnd Bergmann <[email protected]>
Fixes: e26a5843f7f5 ("NTB: Split ntb_hw_intel and ntb_transport drivers")
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
