From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933224AbXDBQF3 (ORCPT ); Mon, 2 Apr 2007 12:05:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933191AbXDBQF3 (ORCPT ); Mon, 2 Apr 2007 12:05:29 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:49214 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933104AbXDBQF2 (ORCPT ); Mon, 2 Apr 2007 12:05:28 -0400 Message-ID: <461129C1.30507@us.ibm.com> Date: Mon, 02 Apr 2007 11:05:21 -0500 From: Brian King User-Agent: Thunderbird 1.5.0.10 (X11/20060911) MIME-Version: 1.0 To: Ed Lin CC: linux-scsi , linux-kernel , "james.Bottomley" , jeff , promise_linux Subject: Re: [PATCH 4/4] [SCSI]stex: minor cleanup and version update References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ed Lin wrote: > @@ -1007,6 +1008,11 @@ static int stex_abort(struct scsi_cmnd * > u32 data; > int result = SUCCESS; > unsigned long flags; > + > + printk(KERN_INFO DRV_NAME > + "(%s): aborting command\n", pci_name(hba->pdev)); > + scsi_print_command(cmd); > + scmd_printk is probably what you want here rather than just a printk. scmd_printk(KERN_ERR, cmd, "aborting command\n"); > @@ -1092,6 +1098,10 @@ static int stex_reset(struct scsi_cmnd * > unsigned long before; > hba = (struct st_hba *) &cmd->device->host->hostdata[0]; > > + printk(KERN_INFO DRV_NAME > + "(%s): resetting host\n", pci_name(hba->pdev)); > + scsi_print_command(cmd); > + Same here. Brian -- Brian King eServer Storage I/O IBM Linux Technology Center