summaryrefslogtreecommitdiffstats
path: root/sys/ofed/include/linux/mlx4/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/include/linux/mlx4/driver.h')
-rw-r--r--sys/ofed/include/linux/mlx4/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/mlx4/driver.h b/sys/ofed/include/linux/mlx4/driver.h
index 2a7fd21..b090c01 100644
--- a/sys/ofed/include/linux/mlx4/driver.h
+++ b/sys/ofed/include/linux/mlx4/driver.h
@@ -121,7 +121,7 @@ void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto,
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
-static inline u64 mlx4_mac_to_u64(u8 *addr)
+static inline u64 mlx4_mac_to_u64(const u8 *addr)
{
u64 mac = 0;
int i;
OpenPOWER on IntegriCloud