summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_users.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-21 11:49:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-10-21 11:49:26 +0200
commit8368a551382bfa3a50b393873be341cd3c17f6df (patch)
treea23f02a7f33850f6e001af4cb3ebeee816f8a867 /curvetun_mgmt_users.c
parent7e7bfc9f66066771804af28ae293dca3d9b7f4bb (diff)
csum: Don't drop const qualifier during cast
Don't drop const qualifier during cast to void * Found by compiling with -Wcast-qual. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun_mgmt_users.c')
0 files changed, 0 insertions, 0 deletions
iv>
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/usb/host/ohci-omap.c')