OSDN Git Service

drm/i915/gen9: Don't wrap strings in verify_wm_state()
authorcpaul@redhat.com <cpaul@redhat.com>
Fri, 14 Oct 2016 21:31:58 +0000 (17:31 -0400)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 19 Oct 2016 20:27:38 +0000 (18:27 -0200)
Wrapping strings is against the guidelines in Documentation/CodingStyle,
chapter 2.

Signed-off-by: Lyude <cpaul@redhat.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476480722-13015-11-git-send-email-cpaul@redhat.com
drivers/gpu/drm/i915/intel_display.c

index 0c97116..6ccedf2 100644 (file)
@@ -13516,8 +13516,7 @@ static void verify_wm_state(struct drm_crtc *crtc,
                sw_ddb_entry = &sw_ddb->plane[pipe][plane];
 
                if (!skl_ddb_entry_equal(hw_ddb_entry, sw_ddb_entry)) {
-                       DRM_ERROR("mismatch in DDB state pipe %c plane %d "
-                                 "(expected (%u,%u), found (%u,%u))\n",
+                       DRM_ERROR("mismatch in DDB state pipe %c plane %d (expected (%u,%u), found (%u,%u))\n",
                                  pipe_name(pipe), plane + 1,
                                  sw_ddb_entry->start, sw_ddb_entry->end,
                                  hw_ddb_entry->start, hw_ddb_entry->end);
@@ -13567,8 +13566,7 @@ static void verify_wm_state(struct drm_crtc *crtc,
                sw_ddb_entry = &sw_ddb->plane[pipe][PLANE_CURSOR];
 
                if (!skl_ddb_entry_equal(hw_ddb_entry, sw_ddb_entry)) {
-                       DRM_ERROR("mismatch in DDB state pipe %c cursor "
-                                 "(expected (%u,%u), found (%u,%u))\n",
+                       DRM_ERROR("mismatch in DDB state pipe %c cursor (expected (%u,%u), found (%u,%u))\n",
                                  pipe_name(pipe),
                                  sw_ddb_entry->start, sw_ddb_entry->end,
                                  hw_ddb_entry->start, hw_ddb_entry->end);