NTB: Fix typo in setting one translation register
authorRoland Dreier <roland@purestorage.com>
Fri, 21 Feb 2014 16:07:21 +0000 (08:07 -0800)
committerJon Mason <jon.mason@intel.com>
Mon, 7 Apr 2014 17:58:14 +0000 (10:58 -0700)
commitc8eee3795d68d4b7448ce9e6752de379d9fe2c23
treee92ecb2efea8499d51b57fbf9a9d952b53f9e58d
parente8bc2ebdceea3c0c6de16d899f0679654c308739
NTB: Fix typo in setting one translation register

In the code for Xeon devices in back-to-back mode with xeon_errata_workaround
disabled, the downstream device puts the wrong value in SNB_B2B_XLAT_OFFSETL
(SNB_MBAR01_DSD_ADDR vs. SNB_MBAR01_USD_ADDR).

This was spotted while reading code, since the typo has no practical effect,
at least for now: the low 32 bits of both constants are actually identical
anyway.  However, it's clearer and safer to use the right name.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_hw.c