[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOZdJXUHb1Kbu=LoqUgKA3_EMjPU3Q1KrZ-pENb-0Siym8_Pvw@mail.gmail.com>
Date: Wed, 29 May 2013 15:12:52 -0500
From: Timur Tabi <timur@...i.org>
To: Mark Langsdorf <mark.langsdorf@...xeda.com>
Cc: lkml <linux-kernel@...r.kernel.org>, Tejun Heo <tj@...nel.org>,
linux-ide@...r.kernel.org
Subject: Re: [PATCH] ata: increase retry count but shorten duration for
Calxeda controller
On Wed, May 29, 2013 at 10:51 AM, Mark Langsdorf
<mark.langsdorf@...xeda.com> wrote:
>
> {
> - const unsigned long *timing = sata_ehc_deb_timing(&link->eh_context);
> + unsigned long timing[] = { 5, 100, 500};
You didn't address my comments the last time you posted this. I'll
post them again:
Why are you dropping the 'const'?
Assuming it works, this should be more efficient:
static const unsigned long timing[] = {5, 100, 500};
--
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