diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-02-18 19:11:59 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 01:45:43 (GMT) |
commit | 6b5c5213e57453c228f7695d5d889aa4c84272c3 (patch) | |
tree | 67c88e797cd9fa5ed99e1a48962eb5ad1a9576c4 /drivers/staging/rdma/hfi1/qsfp.c | |
parent | 05d6ac1d8268915593480a34926f386970a9d720 (diff) | |
download | linux-6b5c5213e57453c228f7695d5d889aa4c84272c3.tar.xz |
staging/rdma/hfi1: fix 0-day syntax error
Setting CONFIG_HFI1_DEBUG_SDMA_ORDER causes a syntax error:
sdma.c: In function ‘complete_tx’:
sdma.c:370: error: ‘txp’ undeclared (first use in
this function)
sdma.c:370: error: (Each undeclared identifier is reported only once
sdma.c:370: error: for each function it appears in.)
Adjust code under ifdef to reference the tx properly.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/qsfp.c')
0 files changed, 0 insertions, 0 deletions