diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2015-08-07 00:46:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-07 03:39:41 +0200 |
commit | 447f6a95a9c80da7faaec3e66e656eab8f262640 (patch) | |
tree | afaa0a4191056cf029161d5e45cbf30bae27d8e5 /fs/ceph | |
parent | mm/slub: allow merging when SLAB_DEBUG_FREE is set (diff) | |
download | linux-447f6a95a9c80da7faaec3e66e656eab8f262640.tar.xz linux-447f6a95a9c80da7faaec3e66e656eab8f262640.zip |
lib/iommu-common.c: do not use 0xffffffffffffffffl for computing align_mask
Using a 64 bit constant generates "warning: integer constant is too
large for 'long' type" on 32 bit platforms. Instead use ~0ul and
BITS_PER_LONG.
Detected by Andrew Morton on ARMD.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions