Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/uverbs: Fix typo in string concatenation macro

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>

authored by

Leon Romanovsky and committed by
Jason Gunthorpe
c471de14 419822c8

+1 -1
+1 -1
include/rdma/uverbs_named_ioctl.h
··· 43 43 #define _UVERBS_NAME(x, y) _UVERBS_PASTE(x, y) 44 44 #define UVERBS_METHOD(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _method_##id) 45 45 #define UVERBS_HANDLER(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _handler_##id) 46 - #define UVERBS_OBJECT(id) _UVERBS_NAME(UVERBS_MOUDLE_NAME, _object_##id) 46 + #define UVERBS_OBJECT(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _object_##id) 47 47 48 48 /* These are static so they do not need to be qualified */ 49 49 #define UVERBS_METHOD_ATTRS(method_id) _method_attrs_##method_id