]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
RDMA/uverbs: Fix typo in string concatenation macro
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 6 Dec 2018 10:19:05 +0000 (12:19 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 04:11:06 +0000 (21:11 -0700)
Update UVERBS_OBJECT() macro to properly concatenate the object name.

Fixes: e502a864c352 ("IB/core: Introduce DECLARE_UVERBS_GLOBAL_METHODS")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/uverbs_named_ioctl.h

index b586e7c41d4a463937b772213e5c0a1cf4f44a3a..3447bfe356d6ea7acc94766a177c6b1c73459112 100644 (file)
@@ -43,7 +43,7 @@
 #define _UVERBS_NAME(x, y)     _UVERBS_PASTE(x, y)
 #define UVERBS_METHOD(id)      _UVERBS_NAME(UVERBS_MODULE_NAME, _method_##id)
 #define UVERBS_HANDLER(id)     _UVERBS_NAME(UVERBS_MODULE_NAME, _handler_##id)
-#define UVERBS_OBJECT(id)      _UVERBS_NAME(UVERBS_MOUDLE_NAME, _object_##id)
+#define UVERBS_OBJECT(id)      _UVERBS_NAME(UVERBS_MODULE_NAME, _object_##id)
 
 /* These are static so they do not need to be qualified */
 #define UVERBS_METHOD_ATTRS(method_id) _method_attrs_##method_id