Commit b4a47f68 authored by Bob Pearson's avatar Bob Pearson Committed by Jason Gunthorpe

RDMA/rxe: Replace obj by elem in declaration

Fix a harmless typo replacing obj by elem in the cleanup fields.  This has
no effect but is confusing.

Link: https://lore.kernel.org/r/20220304000808.225811-6-rpearsonhpe@gmail.comSigned-off-by: default avatarBob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 3c3e4d58
...@@ -12,7 +12,7 @@ static const struct rxe_type_info { ...@@ -12,7 +12,7 @@ static const struct rxe_type_info {
const char *name; const char *name;
size_t size; size_t size;
size_t elem_offset; size_t elem_offset;
void (*cleanup)(struct rxe_pool_elem *obj); void (*cleanup)(struct rxe_pool_elem *elem);
enum rxe_pool_flags flags; enum rxe_pool_flags flags;
u32 min_index; u32 min_index;
u32 max_index; u32 max_index;
......
...@@ -39,7 +39,7 @@ struct rxe_pool { ...@@ -39,7 +39,7 @@ struct rxe_pool {
struct rxe_dev *rxe; struct rxe_dev *rxe;
const char *name; const char *name;
rwlock_t pool_lock; /* protects pool add/del/search */ rwlock_t pool_lock; /* protects pool add/del/search */
void (*cleanup)(struct rxe_pool_elem *obj); void (*cleanup)(struct rxe_pool_elem *elem);
enum rxe_pool_flags flags; enum rxe_pool_flags flags;
enum rxe_elem_type type; enum rxe_elem_type type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment