Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262864AbUDYHgX (ORCPT ); Sun, 25 Apr 2004 03:36:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262963AbUDYHgX (ORCPT ); Sun, 25 Apr 2004 03:36:23 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:52233 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S262339AbUDYHgT (ORCPT ); Sun, 25 Apr 2004 03:36:19 -0400 Date: Sun, 25 Apr 2004 08:36:11 +0100 From: Russell King To: Bob Tracy Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] sym53c500_cs PCMCIA SCSI driver (round 3 - the charm?) Message-ID: <20040425083611.B18033@flint.arm.linux.org.uk> Mail-Followup-To: Bob Tracy , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20040420172447.A27454@infradead.org> <20040425030154.52120DBDB@gherkin.frus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040425030154.52120DBDB@gherkin.frus.com>; from rct@gherkin.frus.com on Sat, Apr 24, 2004 at 10:01:54PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 23 On Sat, Apr 24, 2004 at 10:01:54PM -0500, Bob Tracy wrote: > In addition to all the concerns Christoph raised in response to the > previous two submissions, there was an issue with the code for handling > a CS_EVENT_CARD_RESET event: the event handler was calling the bus_reset > function with a NULL scsi_cmnd argument. Hmm, so what happens if you're in the middle of a transaction, and you receive a CS_EVENT_CARD_RESET. What happens to the command in progress ? Sure, the hardware is reset to a sane state, but what about the software state in the driver? -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 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/