Skip to content

Commit b4a47f6

Browse files
rpearsonhpe-designjgunthorpe
authored andcommitted
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.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent 3c3e4d5 commit b4a47f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/infiniband/sw/rxe/rxe_pool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static const struct rxe_type_info {
1212
const char *name;
1313
size_t size;
1414
size_t elem_offset;
15-
void (*cleanup)(struct rxe_pool_elem *obj);
15+
void (*cleanup)(struct rxe_pool_elem *elem);
1616
enum rxe_pool_flags flags;
1717
u32 min_index;
1818
u32 max_index;

drivers/infiniband/sw/rxe/rxe_pool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct rxe_pool {
3939
struct rxe_dev *rxe;
4040
const char *name;
4141
rwlock_t pool_lock; /* protects pool add/del/search */
42-
void (*cleanup)(struct rxe_pool_elem *obj);
42+
void (*cleanup)(struct rxe_pool_elem *elem);
4343
enum rxe_pool_flags flags;
4444
enum rxe_elem_type type;
4545

0 commit comments

Comments
 (0)