]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/infiniband/hw/cxgb3/iwch_cm.h
cxgb3: Convert PDBG to pr_debug
[mirror_ubuntu-bionic-kernel.git] / drivers / infiniband / hw / cxgb3 / iwch_cm.h
index e66e75921797446019fc67974a2baf4e1d4980a5..cc7fe644d260584df2a4abd64f1247cd0de2e3a6 100644 (file)
 #define MPA_MARKERS            0x80
 #define MPA_FLAGS_MASK         0xE0
 
-#define put_ep(ep) { \
-       PDBG("put_ep (via %s:%u) ep %p refcnt %d\n", __func__, __LINE__,  \
-            ep, kref_read(&((ep)->kref))); \
-       WARN_ON(kref_read(&((ep)->kref)) < 1); \
-       kref_put(&((ep)->kref), __free_ep); \
+#define put_ep(ep) {                                                   \
+       pr_debug("put_ep (via %s:%u) ep %p refcnt %d\n",                \
+                __func__, __LINE__, ep, kref_read(&((ep)->kref)));     \
+       WARN_ON(kref_read(&((ep)->kref)) < 1);                          \
+       kref_put(&((ep)->kref), __free_ep);                             \
 }
 
-#define get_ep(ep) { \
-       PDBG("get_ep (via %s:%u) ep %p, refcnt %d\n", __func__, __LINE__, \
-            ep, kref_read(&((ep)->kref))); \
-       kref_get(&((ep)->kref));  \
+#define get_ep(ep) {                                                   \
+       pr_debug("get_ep (via %s:%u) ep %p, refcnt %d\n",               \
+                __func__, __LINE__, ep, kref_read(&((ep)->kref)));     \
+       kref_get(&((ep)->kref));                                        \
 }
 
 struct mpa_message {