[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151112153342.GA129240@tevye.fc.hp.com>
Date: Thu, 12 Nov 2015 08:33:42 -0700
From: Jerry Hoemann <jerry.hoemann@....com>
To: Dmitry Krivenok <krivenok.dmitry@...il.com>
Cc: ross.zwisler@...ux.intel.com, rjw@...ysocki.net,
Len Brown <lenb@...nel.org>, dan.j.williams@...el.com,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvdimm@...ts.01.org
Subject: Re: [PATCH 3/4] nvdimm: Add IOCTL pass thru
On Thu, Nov 12, 2015 at 12:52:47AM +0300, Dmitry Krivenok wrote:
> > but, we still want to go through entire list.
>
> Shouldn't you break the loop immediately after you found the bus and sent ioctl?
> Maybe I'm missing something, but I see no reason to continue iterating
> after the bus was found (even though you don't do anything and just
> compare IDs and "continue").
okay, i understand now what you're saying. i'll address in version 2.
--
-----------------------------------------------------------------------------
Jerry Hoemann Software Engineer Hewlett-Packard Enterprise
-----------------------------------------------------------------------------
--
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