summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-06-06 07:10:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-06-06 07:10:16 +0000
commitdbee673b014cef61c992130140588c4f84297ed5 (patch)
tree0bcd30a765bab26e06878e0f5f9d917925644abb /sys/dev
parent7c4037453dcde915a744c17d53fd6caf400fae1e (diff)
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/intel_pm.c2
1 files changed, 1 insertions, 1 deletions
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;