From patchwork Wed Mar 24 10:57:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Bj=C3=B8rn_Mork?= X-Patchwork-Id: 87868 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2OAwVGs006785 for ; Wed, 24 Mar 2010 10:58:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755662Ab0CXK6N (ORCPT ); Wed, 24 Mar 2010 06:58:13 -0400 Received: from canardo.mork.no ([148.122.252.1]:45342 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755646Ab0CXK6K (ORCPT ); Wed, 24 Mar 2010 06:58:10 -0400 Received: from canardo.mork.no (ip6-localhost [IPv6:::1]) by canardo.mork.no (8.14.3/8.14.3) with ESMTP id o2OAvvOK006745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Mar 2010 11:57:57 +0100 Received: (from bjorn@localhost) by canardo.mork.no (8.14.3/8.14.3/Submit) id o2OAvv0H006744; Wed, 24 Mar 2010 11:57:57 +0100 From: =?utf-8?q?Bj=C3=B8rn=20Mork?= To: linux-media@vger.kernel.org Cc: =?utf-8?q?Bj=C3=B8rn=20Mork?= , stable@kernel.org, 575207@bugs.debian.org Subject: [PATCH] V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference" Date: Wed, 24 Mar 2010 11:57:57 +0100 Message-Id: <1269428277-6709-1-git-send-email-bjorn@mork.no> X-Mailer: git-send-email 1.5.6.5 MIME-Version: 1.0 X-Spam-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_05, DATE_IN_FUTURE_48_96,NO_RELAYS autolearn=no version=3.2.5 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on canardo.mork.no X-Virus-Scanned: clamav-milter 0.95.3 at canardo X-Virus-Status: Clean Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 24 Mar 2010 10:58:31 +0000 (UTC) diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index e48380c..95a463c 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c @@ -643,9 +643,6 @@ static void frontend_init(struct budget *budget) &budget->i2c_adap, &tt1600_isl6423_config); - } else { - dvb_frontend_detach(budget->dvb_frontend); - budget->dvb_frontend = NULL; } } break;