From 7b129050ec4255c9afe8f2a9f9b7c4cabf9086bf Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 6 Jun 2022 07:10:15 +0000 Subject: [PATCH] drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency() From Gustavo A. R. Silva 195fffbf8291a84580762ac6e3101489954d0216 in linux 5.15.y/5.15.45 336feb502a715909a8136eb6a62a83d7268a353b in mainline linux --- sys/dev/pci/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/intel_pm.c b/sys/dev/pci/drm/i915/intel_pm.c index 2601244c377..a1417ed2e5d 100644 --- a/sys/dev/pci/drm/i915/intel_pm.c +++ b/sys/dev/pci/drm/i915/intel_pm.c @@ -2865,7 +2865,7 @@ static void ilk_compute_wm_level(const struct drm_i915_private *dev_priv, } static void intel_read_wm_latency(struct drm_i915_private *dev_priv, - u16 wm[8]) + u16 wm[]) { struct intel_uncore *uncore = &dev_priv->uncore; -- 2.20.1