Message ID | 1405015244-11370-19-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index bc11b9c..e4af24d 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -107,11 +107,11 @@ static bool prepare_crtc(data_t *data) return false; switch (data->type) { - case DRM_PLANE_TYPE_OVERLAY: /* Sprite */ + case DRM_PLANE_TYPE_OVERLAY: igt_info("Sprite plane\n"); plane = igt_output_get_plane(output, IGT_PLANE_2); break; - case DRM_PLANE_TYPE_PRIMARY: /* Primary */ + case DRM_PLANE_TYPE_PRIMARY: igt_info("Primary plane\n"); plane = igt_output_get_plane(output, IGT_PLANE_PRIMARY); break;
A typical example of what comments shouldn't be: case DRM_PLANE_TYPE_PRIMARY: /* primary */ Well, yes!, it's written just there, PRIMARY! Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- tests/kms_rotation_crc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)