lkml.org 
[lkml]   [2011]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] hpsa: do not re-order commands in internal queues


--- On Tue, 1/11/11, Stephen M. Cameron <scameron@beardog.cce.hp.com> wrote:

[...]
> @@ -2837,8 +2837,8 @@ static void start_io(struct ctlr_info
> *h)
> {
>     struct CommandList *c;
>
> -    while (!hlist_empty(&h->reqQ))
> {
> -        c =
> hlist_entry(h->reqQ.first, struct CommandList, list);
> +    while (!list_empty(&h->reqQ)) {
> +        c =
> list_entry(h->reqQ.first, struct CommandList, list);


No, I screwed this up. Disregard this patch.

-- steve




--
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/

\
 
 \ /
  Last update: 2011-01-12 00:01    [W:0.035 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site