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
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);