Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751259AbWBZSRy (ORCPT ); Sun, 26 Feb 2006 13:17:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751349AbWBZSRy (ORCPT ); Sun, 26 Feb 2006 13:17:54 -0500 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:52753 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S1751259AbWBZSRx (ORCPT ); Sun, 26 Feb 2006 13:17:53 -0500 Date: Sun, 26 Feb 2006 18:17:47 +0000 From: Russell King To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Convert serial_core oopses to BUG_ON Message-ID: <20060226181747.GB31256@flint.arm.linux.org.uk> Mail-Followup-To: Andrew Morton , linux-kernel@vger.kernel.org References: <20060226100518.GA31256@flint.arm.linux.org.uk> <20060226021414.6a3db942.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060226021414.6a3db942.akpm@osdl.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 31 On Sun, Feb 26, 2006 at 02:14:14AM -0800, Andrew Morton wrote: > Russell King wrote: > > > > Calling serial functions to flush buffers, or try to send more data > > after the port has been closed or hung up is a bug in the code doing > > the calling, not in the serial_core driver. > > > > Make this explicitly obvious by adding BUG_ON()'s. > > If we make it > > if (!info) { > WARN_ON(1); > return; > } > > will that allow people's kernels to limp along until it gets fixed? "until" - I think you mean "if anyone ever bothers" so no I don't agree. The bluetooth folk seem to have absolutely no interest in bug fixing. Can we mark bluetooth broken please? -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/