Skip to contentSkip to conversation

drm/nouveau: indent an if statement

PATCH In review Dan Carpenter 2 participants 2 messages Jan 30, 2015 – Jan 31, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: indent an if statement

This if statement is correct but it wasn't indented, so it looked like some code was missing.

drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c +1 -1
index 42cac13..f20e4ca 100644
@@ -182,7 +182,7 @@ mxm_show_unmatched(struct nvkm_mxm *mxm, u8 *data, void *info)
 {
 	u64 desc = *(u64 *)data;
 	if ((desc & 0xf0) != 0xf0)
-	nv_info(mxm, "unmatched output device 0x%016llx\n", desc);
+		nv_info(mxm, "unmatched output device 0x%016llx\n", desc);
 	return true;
 }
 
#1 lore raw
Quoted 2 lines · Dan Carpenter

This if statement is correct but it wasn't indented, so it looked like some code was missing.

Thanks Dan, applied (along with a fix for the owner thing you mentioned).

Ben.

Quoted 20 lines
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c +1 -1
index 42cac13..f20e4ca 100644
@@ -182,7 +182,7 @@ mxm_show_unmatched(struct nvkm_mxm *mxm, u8 *data, void *info)
 {
        u64 desc = *(u64 *)data;
        if ((desc & 0xf0) != 0xf0)
-       nv_info(mxm, "unmatched output device 0x%016llx\n", desc);
+               nv_info(mxm, "unmatched output device 0x%016llx\n", desc);
        return true;
 }
 

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel