RDMA/rxe: Replace obj by elem in declaration
authorBob Pearson <rpearsonhpe@gmail.com>
Fri, 4 Mar 2022 00:08:01 +0000 (18:08 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 15 Mar 2022 23:49:57 +0000 (20:49 -0300)
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>
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_pool.h

index 2e3543dde0004226d25b42ee04dfecc35e5b5ca5..3b50fd3d9d70b0897001fed60d072773fecbcd68 100644 (file)
@@ -12,7 +12,7 @@ static const struct rxe_type_info {
        const char *name;
        size_t size;
        size_t elem_offset;
-       void (*cleanup)(struct rxe_pool_elem *obj);
+       void (*cleanup)(struct rxe_pool_elem *elem);
        enum rxe_pool_flags flags;
        u32 min_index;
        u32 max_index;
index 7fec5d96d69559fe596a9ff4516c152b53ba4819..a8582ad85b1e2ac153358f0b29af57125a26dad4 100644 (file)
@@ -39,7 +39,7 @@ struct rxe_pool {
        struct rxe_dev          *rxe;
        const char              *name;
        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_elem_type      type;