mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 14:43:54 +08:00
qed: Align DP_ERR style with other DP macros
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
48848a0690
commit
9d7650c254
@ -701,10 +701,12 @@ struct qed_common_ops {
|
|||||||
|
|
||||||
/* Debug print definitions */
|
/* Debug print definitions */
|
||||||
#define DP_ERR(cdev, fmt, ...) \
|
#define DP_ERR(cdev, fmt, ...) \
|
||||||
|
do { \
|
||||||
pr_err("[%s:%d(%s)]" fmt, \
|
pr_err("[%s:%d(%s)]" fmt, \
|
||||||
__func__, __LINE__, \
|
__func__, __LINE__, \
|
||||||
DP_NAME(cdev) ? DP_NAME(cdev) : "", \
|
DP_NAME(cdev) ? DP_NAME(cdev) : "", \
|
||||||
## __VA_ARGS__) \
|
## __VA_ARGS__); \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
#define DP_NOTICE(cdev, fmt, ...) \
|
#define DP_NOTICE(cdev, fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
|
Loading…
Reference in New Issue
Block a user