drm/nouveau/bios: fix INDEX_ADDRESS_LATCHED trace printout
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 16 Feb 2014 08:53:55 +0000 (03:53 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 03:59:33 +0000 (13:59 +1000)
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>
drivers/gpu/drm/nouveau/core/subdev/bios/init.c

index de201baeb053aea79a6632289a865de94fc5dc07..126651b344d4ef5fc96c5827f6d64e16694f3ac1 100644 (file)
@@ -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--) {