mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:46:39 +07:00
staging/hfi1: add dd_dev_dbg
To be used in future patches add dd_dev_dbg. dd_* functions properly decode the hfi1_devdata structure used throughout the driver Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
0b091fb32c
commit
a1edc18a48
@ -1804,6 +1804,10 @@ static inline u64 hfi1_pkt_base_sdma_integrity(struct hfi1_devdata *dd)
|
||||
dev_info(&(dd)->pcidev->dev, "%s: " fmt, \
|
||||
get_unit_name((dd)->unit), ##__VA_ARGS__)
|
||||
|
||||
#define dd_dev_dbg(dd, fmt, ...) \
|
||||
dev_dbg(&(dd)->pcidev->dev, "%s: " fmt, \
|
||||
get_unit_name((dd)->unit), ##__VA_ARGS__)
|
||||
|
||||
#define hfi1_dev_porterr(dd, port, fmt, ...) \
|
||||
dev_err(&(dd)->pcidev->dev, "%s: IB%u:%u " fmt, \
|
||||
get_unit_name((dd)->unit), (dd)->unit, (port), \
|
||||
|
Loading…
Reference in New Issue
Block a user