Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[firefly-linux-kernel-4.4.55.git] / include / rdma / ib_cache.h
index ad9a3c280944ff3581ac9313a04387198f2c0fd9..bd92130f4ac5803a60e0c058bc19d26faca9f948 100644 (file)
@@ -64,10 +64,10 @@ int ib_get_cached_gid(struct ib_device    *device,
  * ib_find_cached_gid() searches for the specified GID value in
  * the local software cache.
  */
-int ib_find_cached_gid(struct ib_device *device,
-                      union ib_gid     *gid,
-                      u8               *port_num,
-                      u16              *index);
+int ib_find_cached_gid(struct ib_device   *device,
+                      const union ib_gid *gid,
+                      u8                 *port_num,
+                      u16                *index);
 
 /**
  * ib_get_cached_pkey - Returns a cached PKey table entry