From: jsg Date: Mon, 6 Jun 2022 07:10:15 +0000 (+0000) Subject: drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7b129050ec4255c9afe8f2a9f9b7c4cabf9086bf;p=openbsd 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 --- 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;