lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 19 Feb 2013 11:33:50 -0600
From:	"Philip J. Kelleher" <pjk1939@...ux.vnet.ibm.com>
To:	Joe Perches <joe@...ches.com>
Cc:	axboe@...nel.dk, linux-kernel@...r.kernel.org,
	brking@...ux.vnet.ibm.com, josh.h.morris@...ibm.com
Subject: Re: [PATCHv2 1/1] block: IBM RamSan 70/80 driver fixes.

Thanks for the response.

Comments inline.

On Tue, Feb 19, 2013 at 08:57:09AM -0800, Joe Perches wrote:
> On Tue, 2013-02-19 at 10:48 -0600, Philip J. Kelleher wrote:
> > From: Philip J Kelleher <pjk1939@...ux.vnet.ibm.com>
> > 
> > This patch include a few driver fixes for the IBM RamSan 70/80 driver.
> 
> trivial comments:
> 
> > diff -uprN -X linux-block-vanilla/Documentation/dontdiff linux-block-vanilla/drivers/block/rsxx/config.c linux-block/drivers/block/rsxx/config.c
> []
> > @@ -161,6 +161,17 @@ irqreturn_t rsxx_isr(int irq, void *pdat
> >  }
> >  
> >  /*----------------- Card Event Handler -------------------*/
> > +static char *rsxx_card_state_to_str(unsigned int state)
> 
> static const char *
> 

Ok.

> > +{
> > +	static char *state_strings[] = {
> 
> static const char * const state_strings[] = {
> 

Ok.

> > +		"Unknown", "Shutdown", "Starting", "Formatting",
> > +		"Uninitialized", "Good", "Shutting Down",
> > +		"Fault", "Read Only Fault", "dStroying"
> > +	};
> 
> []
> 
> > @@ -390,8 +391,13 @@ static int __issue_creg_rw(struct rsxx_c
> >  	if (st)
> >  		return st;
> >  
> > +	/*
> > +	 * This timeout is neccessary for unresponsive hardware. The additional
> 
> One "c" in necessary
> 

Haha... Oops. Thanks.

> > +	 * 20 seconds to used to guarantee that each cregs requests has time to
> > +	 * complete.
> > +	 */
> >  	timeout = msecs_to_jiffies((CREG_TIMEOUT_MSEC *
> > -				    card->creg_ctrl.q_depth) + 20000);
> > +				card->creg_ctrl.q_depth) + 20000);
> 
> The alignment was nicer before this change.
> Still using unnecessary parentheses.
> 
> 

Agreed.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ