Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751241Ab3CKEKd (ORCPT ); Mon, 11 Mar 2013 00:10:33 -0400 Received: from am1ehsobe006.messaging.microsoft.com ([213.199.154.209]:24771 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912Ab3CKEKb convert rfc822-to-8bit (ORCPT ); Mon, 11 Mar 2013 00:10:31 -0400 X-Forefront-Antispam-Report: CIP:198.70.193.115;KIP:(null);UIP:(null);IPV:NLI;H:avcashub1.qlogic.com;RD:avcashub1.qlogic.com;EFVD:NLI X-SpamScore: -3 X-BigFish: VPS-3(zz98dI936eI1432I4015Izz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2ei2a8h668h839h93fhd25hf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h16a6h1758h18e1h1946h19b5h1b0ah1155h) Date: Sun, 10 Mar 2013 21:10:19 -0700 From: Andrew Vasquez To: James Bottomley CC: Andrew Morton , Akinobu Mita , "linux-kernel@vger.kernel.org" , linux-scsi , Giridhar Malavali , Chad Dupuis , Saurav Kashyap Subject: Re: [PATCH -mmotm] scsi: fix the wrong position of the comment Message-ID: <20130311041019.GB37523@n8021av7gqvyn1.qlogic.org> References: <1362902990-25137-1-git-send-email-akinobu.mita@gmail.com> <1362903765.3003.2.camel@dabdike.int.hansenpartnership.com> <20130310005718.2d6579ea.akpm@linux-foundation.org> <1362905945.3003.4.camel@dabdike.int.hansenpartnership.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <1362905945.3003.4.camel@dabdike.int.hansenpartnership.com> Organization: QLogic Corporation User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [10.8.6.109] Content-Transfer-Encoding: 8BIT X-OriginatorOrg: qlogic.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3079 Lines: 71 On Sun, 10 Mar 2013, James Bottomley wrote: > On Sun, 2013-03-10 at 00:57 -0800, Andrew Morton wrote: > > On Sun, 10 Mar 2013 08:22:47 +0000 James Bottomley wrote: > > > > > [missing SCSI cc added] > > > On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > > > > This fixes the wrong position of the comment introduced by > > > > scsi-rename-random32-to-prandom_u32.patch in the -mm tree. > > > > > > > > Signed-off-by: Akinobu Mita > > > > Cc: "James E.J. Bottomley" > > > > Cc: Andrew Vasquez > > > > --- > > > > drivers/scsi/qla2xxx/qla_attr.c | 6 +++--- > > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > > > > > diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c > > > > index 04bf7b8..e44d47e 100644 > > > > --- a/drivers/scsi/qla2xxx/qla_attr.c > > > > +++ b/drivers/scsi/qla2xxx/qla_attr.c > > > > @@ -1939,13 +1939,13 @@ qla24xx_vport_delete(struct fc_vport *fc_vport) > > > > } > > > > > > > > /* No pending activities shall be there on the vha now */ > > > > - if (ql2xextended_error_logging & ql_dbg_user) > > > > - msleep(prandom_u32() % 10); > > > > + if (ql2xextended_error_logging & ql_dbg_user) { > > > > /* > > > > * Just to see if something falls on the net we have placed > > > > * below > > > > */ > > > > - > > > > + msleep(prandom_u32() % 10); > > > > + } > > > > > > I don't git a toss if it's random or prandom: Andrew: get rid of it; we > > > do not sleep in kernel for random intervals whatever the provocation ... > > > if this is supposed to be a warning or error condition then print > > > something. > > > > That msleep was added by > > > > commit feafb7b1714cf599a6d0fed45801ab3f66046cbd > > Author: Arun Easi > > AuthorDate: Fri Sep 3 14:57:00 2010 -0700 > > Commit: James Bottomley > > CommitDate: Sun Sep 5 15:13:12 2010 -0300 > > > > [SCSI] qla2xxx: Fix vport delete issues > > Sorry, I didn't notice multiple Andrews on the cc list. I meant Andrew > Vasquez (or other member of the qla team) remove this, please (and > preferably do something correct). > James, We'll take a look at this, yes. Adding Giri and Co. to the CC. Thanks, AV ________________________________ This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. -- 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/