diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-02-16 03:53:55 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-02-18 10:40:22 +1000 |
commit | 3a659b76cdfff42e6996afa4b7d9da730c75b580 (patch) | |
tree | f9976ef64dc5515bc640d73df65a159c5d46b6fd | |
parent | 4ed47af266b7084aab9c43949f5eb8f5f2ff13be (diff) |
bios: fix INDEX_ADDRESS_LATCHED trace printout
Having a \n in the middle of a format string means that the next line
doesn't get the prefixes unlike every other line printed by the trace.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | nvkm/subdev/bios/init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nvkm/subdev/bios/init.c b/nvkm/subdev/bios/init.c index de201bae..126651b3 100644 --- a/nvkm/subdev/bios/init.c +++ b/nvkm/subdev/bios/init.c @@ -845,9 +845,8 @@ init_idx_addr_latched(struct nvbios_init *init) u32 data = nv_ro32(bios, init->offset + 13); u8 count = nv_ro08(bios, init->offset + 17); - trace("INDEX_ADDRESS_LATCHED\t" - "R[0x%06x] : R[0x%06x]\n\tCTRL &= 0x%08x |= 0x%08x\n", - creg, dreg, mask, data); + trace("INDEX_ADDRESS_LATCHED\tR[0x%06x] : R[0x%06x]\n", creg, dreg); + trace("\tCTRL &= 0x%08x |= 0x%08x\n", mask, data); init->offset += 18; while (count--) { |