aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/include
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-12-04 18:20:55 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-12-04 18:20:55 +0000
commitc5e5a55f8f96f1f73f70b7f00175fbb79c14b22d (patch)
tree1444de750d4dd412f4f37a8003d18f64e6e916b2 /sys/ofed/include
parentdf5b54dee1fc1f67c16e8d825641984e40ea3e0c (diff)
downloadsrc-c5e5a55f8f96f1f73f70b7f00175fbb79c14b22d.tar.gz
src-c5e5a55f8f96f1f73f70b7f00175fbb79c14b22d.zip
Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs.
Suggested by: kib, ian Sponsored by: Mellanox Technologies MFC after: 1 week
Notes
Notes: svn path=/head/; revision=291793
Diffstat (limited to 'sys/ofed/include')
-rw-r--r--sys/ofed/include/linux/mlx4/doorbell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/mlx4/doorbell.h b/sys/ofed/include/linux/mlx4/doorbell.h
index f31bba270aa2..6724e5ea2966 100644
--- a/sys/ofed/include/linux/mlx4/doorbell.h
+++ b/sys/ofed/include/linux/mlx4/doorbell.h
@@ -77,7 +77,7 @@ static inline void mlx4_write64(__be32 val[2], void __iomem *dest,
spin_lock_irqsave(doorbell_lock, flags);
__raw_writel((__force u32) val[0], dest);
- __raw_writel((__force u32) val[1], dest + 4);
+ __raw_writel((__force u32) val[1], (u8 *)dest + 4);
spin_unlock_irqrestore(doorbell_lock, flags);
}