From 50cc059d3817d37129d2e650d0c3ea72244032f8 Mon Sep 17 00:00:00 2001 From: naddy Date: Mon, 3 Jul 2017 13:26:04 +0000 Subject: [PATCH] merge error, revealed by clang; ok kettenis@ --- sys/dev/pci/drm/i915/intel_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/i915/intel_i2c.c b/sys/dev/pci/drm/i915/intel_i2c.c index 86760e2105d..c75fe66b70a 100644 --- a/sys/dev/pci/drm/i915/intel_i2c.c +++ b/sys/dev/pci/drm/i915/intel_i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_i2c.c,v 1.10 2017/07/01 16:14:10 kettenis Exp $ */ +/* $OpenBSD: intel_i2c.c,v 1.11 2017/07/03 13:26:04 naddy Exp $ */ /* * Copyright (c) 2012, 2013 Mark Kettenis * @@ -457,7 +457,7 @@ intel_gmbus_force_bit(struct i2c_adapter *adapter, bool force_bit) else bus->force_bit--; - KASSERT(force_bit >= 0); + KASSERT(bus->force_bit >= 0); if (bus->force_bit) bus->adapter.ic.ic_exec = NULL; -- 2.20.1