This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue May 21 23:19:41 2024 >From spaans Thu Aug 27 22:06:47 2015 Received: from pop.ziggo.nl [212.54.42.19] by squeeze.vs19.net with POP3 (fetchmail-6.3.21) for (single-drop); Thu, 27 Aug 2015 22:06:47 +0200 (CEST) Received: from md2.tb.mail.iss.local ([212.54.34.149]) by mc5.tb.mail.iss.local (Dovecot) with LMTP id 1rs/BMdq31WXOQAAh0Kp1A for ; Thu, 27 Aug 2015 21:56:24 +0200 Received: from mx21.gn.mail.iss.as9143.net ([212.54.34.149]) by md2.tb.mail.iss.local (Dovecot) with LMTP id FFebHdoW1VWFSgAAH7GgQA ; Thu, 27 Aug 2015 21:59:21 +0200 Received: from vger.kernel.org ([209.132.180.67]) by mx21.gn.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1ZV3Hb-0005vK-JV for bmw12-lkml@ziggo.nl; Thu, 27 Aug 2015 21:56:23 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797AbbH0T4N (ORCPT ); Thu, 27 Aug 2015 15:56:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43172 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbbH0T4L (ORCPT ); Thu, 27 Aug 2015 15:56:11 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 95509C1C57C4; Thu, 27 Aug 2015 19:56:11 +0000 (UTC) Received: from [10.18.25.104] (dhcp-25-104.bos.redhat.com [10.18.25.104]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7RJuAfR028100; Thu, 27 Aug 2015 15:56:10 -0400 Subject: Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable check From: Ewan Milne Reply-To: emilne@redhat.com To: James Bottomley Cc: "Winkler, Tomas" , Christoph Hellwig , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Douglas Gilbert In-Reply-To: <1440632280.2196.94.camel@HansenPartnership.com> References: <1438091666-18113-1-git-send-email-tomas.winkler@intel.com> <1438091666-18113-5-git-send-email-tomas.winkler@intel.com> <1440532371.23183.81.camel@localhost.localdomain> <5B8DA87D05A7694D9FA63FD143655C1B3D42E9D0@hasmsx108.ger.corp.intel.com> <1440632 Content-Type: text/plain; charset="UTF-8" Organization: Red Hat Date: Thu, 27 Aug 2015 15:56:09 -0400 Message-Id: <1440705369.23183.142.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org X-Ziggo-spamsetting: Instelling=Gemiddeld Scorelimiet=14 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.1 cv=WMaCJSYR c=1 sm=0 tr=0 a=UK1r566ZdBxH71SXbqIOeA==:17 a=20KFwNOVAAAA:8 a=VwQbUJbxAAAA:8 a=cIF5Tx0qAAAA:8 a=IkcTkHD0fZMA:10 a=uRRa74qj2VoA:10 a=W0vUJOdyAAAA:8 a=RA03m8cPmo_IrT-8eO4A:9 a=69ocRz1c_udco6yu:21 a=sVGi9KM4l1R6TzUB:21 a=QE X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No On Wed, 2015-08-26 at 16:38 -0700, James Bottomley wrote: > On Tue, 2015-08-25 at 21:03 +0000, Winkler, Tomas wrote: > > > > > > + /* this should never happen */ > > > > + if (WARN_ON(!cmnd)) > > > > + return SCSI_MLQUEUE_HOST_BUSY; > > > > > > > > - if (NULL == cmnd || NULL == devip) { > > > > - pr_warn("called with NULL cmnd or devip pointer\n"); > > > > + if (NULL == devip) { > > > > + pr_warn("called devip == NULL\n"); > > > > /* no particularly good error to report back */ > > > > return SCSI_MLQUEUE_HOST_BUSY; > > > > } > > > > > > Please refer to the patch I just posted, we can't return _HOST_BUSY here > > > if devip == NULL. I posted a fix against the current "misc" branch as > > > I don't see this patch applied, let me know if I need to update it. > > > > > > I'm just not sure why the patches are not merged or even rejected. > > Because ideally I want a Maintainer ack. That's Doug Gilbert. > > > I'm submitting patches to the Linux kernel for more than 10 years to > > various trees and I can agree that these are not some urgent fixes, > > but this is the first time my effort is ignored for such long time by > > the maintainer. > > Well, OK, I trust martin, I'll override the lack of Maintainer ack if > you fix as Ewan suggests. > Just to clarify, I didn't have a problem with Tomas' patch per se, it's just that my patch won't apply on top of his. I'll submit a v2 if you want, so you can apply Tomas' patch first. The problem I'm fixing has been in there for a while. Let me know if you want me to do that. -Ewan > James > > > > Thanks > > Tomas > > > > NrybXǧv^)޺{.n+{"{ayʇڙ,jfhzw j:+vwjmzZ+ݢj"! > > > -- 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/