summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-01-28 11:17:18 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-01-29 14:01:44 -0700
commite449644741af523fa345f41494e19a0914709a69 (patch)
tree8d9ec10be79e7b6755f283df2e2a43a651ceeb6f /include
parentbeb801ac51be3e024edef435333198d59ccfbb8f (diff)
downloadlinux-e449644741af523fa345f41494e19a0914709a69.tar.gz
linux-e449644741af523fa345f41494e19a0914709a69.tar.bz2
linux-e449644741af523fa345f41494e19a0914709a69.zip
RDMA/core: Use the MODNAME instead of the function name for pd callers
Each of our modules only allocates a PD in one place, so there isn't any loss in detail, while MODNAME is more useful and recognizable as something to expose to the user. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 0b2942586840..6ebb46e4ecf5 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -2853,7 +2853,7 @@ enum ib_pd_flags {
struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags,
const char *caller);
#define ib_alloc_pd(device, flags) \
- __ib_alloc_pd((device), (flags), __func__)
+ __ib_alloc_pd((device), (flags), KBUILD_MODNAME)
void ib_dealloc_pd(struct ib_pd *pd);
/**