diff mbox

drm/i915/skl: fix semicolon.cocci warnings

Message ID 20150326143020.GA58543@athens (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu March 26, 2015, 2:30 p.m. UTC
drivers/gpu/drm/i915/intel_pm.c:2913:4-5: Unneeded semicolon


 Removes unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 intel_pm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Vetter March 26, 2015, 3:22 p.m. UTC | #1
On Thu, Mar 26, 2015 at 10:30:21PM +0800, kbuild test robot wrote:
> drivers/gpu/drm/i915/intel_pm.c:2913:4-5: Unneeded semicolon
> 
> 
>  Removes unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Oops, somehow didn't see your patch at first. Applied this one now instead
of mine.
-Daniel

> ---
> 
>  intel_pm.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -2910,7 +2910,7 @@ static bool skl_compute_plane_wm(const s
>  				break;
>  			case 8:
>  				WARN(1, "Unsupported pixel depth for rotation");
> -			};
> +			}
>  		}
>  		y_tile_minimum = plane_blocks_per_line * min_scanlines;
>  		selected_result = max(method2, y_tile_minimum);
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Shuang He March 26, 2015, 10:51 p.m. UTC | #2
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
Task id: 6063
-------------------------------------Summary-------------------------------------
Platform          Delta          drm-intel-nightly          Series Applied
PNV                 -1              276/276              275/276
ILK                                  303/303              303/303
SNB                                  304/304              304/304
IVB                                  339/339              339/339
BYT                                  287/287              287/287
HSW                                  362/362              362/362
BDW                                  310/310              310/310
-------------------------------------Detailed-------------------------------------
Platform  Test                                drm-intel-nightly          Series Applied
*PNV  igt@gem_userptr_blits@minor-unsync-normal      PASS(2)      DMESG_WARN(1)PASS(1)
(dmesg patch applied)WARNING:at_drivers/gpu/drm/i915/i915_gem_evict.c:#i915_gem_evict_vm[i915]()@WARNING:.* at .* i915_gem_evict_vm+0x
Note: You need to pay more attention to line start with '*'
diff mbox

Patch

--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2910,7 +2910,7 @@  static bool skl_compute_plane_wm(const s
 				break;
 			case 8:
 				WARN(1, "Unsupported pixel depth for rotation");
-			};
+			}
 		}
 		y_tile_minimum = plane_blocks_per_line * min_scanlines;
 		selected_result = max(method2, y_tile_minimum);