From 337821723545ff1ac2823d33e13d660bb279b406 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 22 Jun 2004 14:28:03 +0000 Subject: - accidently inverted BUG_ON() logic --- linux/drivers/media/dvb/frontends/stv0299.c | 2 +- linux/drivers/media/dvb/frontends/ves1x93.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 01c2fa948..7da577ea7 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -1387,7 +1387,7 @@ static int attach_adapter(struct i2c_adapter *adapter) return -EFAULT; } - BUG_ON(state->dvb); + BUG_ON(!state->dvb); ret = dvb_register_frontend_new (uni0299_ioctl, state->dvb, (void*) state, &uni0299_info); if (ret) { diff --git a/linux/drivers/media/dvb/frontends/ves1x93.c b/linux/drivers/media/dvb/frontends/ves1x93.c index 5162c3c46..0bd02b698 100644 --- a/linux/drivers/media/dvb/frontends/ves1x93.c +++ b/linux/drivers/media/dvb/frontends/ves1x93.c @@ -636,7 +636,7 @@ static int attach_adapter(struct i2c_adapter *adapter) return -EFAULT; } - BUG_ON(state->dvb); + BUG_ON(!state->dvb); ret = dvb_register_frontend_new (ves1x93_ioctl, state->dvb, (void*) state, &ves1x93_info); if (ret) { -- cgit v1.2.3