staging: qlge: Remove unnecessary parentheses around struct field
Remove unnecessary parentheses around a struct field accessor that causes a build failure when QL_DEV_DUMP is set. Signed-off-by: Rylan Dmello <mail@rylan.coffee> Link: https://lore.kernel.org/r/4dea7a7fae6a56c51cc19228b82a3c230029f54b.1587959245.git.mail@rylan.coffee Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9075e3180e
commit
7b58387cd5
|
@ -1559,7 +1559,7 @@ void ql_dump_stat(struct ql_adapter *qdev)
|
|||
#ifdef QL_DEV_DUMP
|
||||
|
||||
#define DUMP_QDEV_FIELD(qdev, type, field) \
|
||||
pr_err("qdev->%-24s = " type "\n", #field, (qdev)->(field))
|
||||
pr_err("qdev->%-24s = " type "\n", #field, (qdev)->field)
|
||||
#define DUMP_QDEV_DMA_FIELD(qdev, field) \
|
||||
pr_err("qdev->%-24s = %llx\n", #field, (unsigned long long)qdev->field)
|
||||
#define DUMP_QDEV_ARRAY(qdev, type, array, index, field) \
|
||||
|
|
Loading…
Reference in New Issue