[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAErSpo4tvAzv5TPag2bO1gu7rRFQT0dn+_upzTVqqZdVW6Q53Q@mail.gmail.com>
Date: Fri, 9 Mar 2012 12:11:18 -0700
From: Bjorn Helgaas <bhelgaas@...gle.com>
To: Yinghai Lu <yinghai@...nel.org>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>, x86 <x86@...nel.org>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 06/23] PCI: rescan with bus or bridge using callback
method too
On Fri, Mar 9, 2012 at 12:05 PM, Yinghai Lu <yinghai@...nel.org> wrote:
> On Fri, Mar 9, 2012 at 9:22 AM, Bjorn Helgaas <bhelgaas@...gle.com> wrote:
>>
>> Why did you just repeat my proposal, changing "err" to "ret"? I
>> missed the point you're trying to make. The name "err" gives an
>> important clue that device_schedule_callback() returns 0 or errno.
>> That's essential to understanding the code.
>>
>> Your original patch has one "return." Mine proposal has three. All
>> that means is that the reader of your patch has to manage more stuff
>> in her head to understand the code. That's not a benefit!
>
> ok, can we have separated patch to fix them all?
Sure.
--
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