qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 10/23] block: Eliminate DriveInfo member bdrv, u


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 10/23] block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo()
Date: Fri, 12 Sep 2014 08:38:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Eric Blake <address@hidden> writes:

> On 09/11/2014 01:34 PM, Benoît Canet wrote:
>> The Thursday 11 Sep 2014 à 21:12:44 (+0200), Markus Armbruster wrote :
>>> Benoît Canet <address@hidden> writes:
>>>
>>>>> +                                   blk_bs(blk_by_legacy_dinfo(dinfo)));
>>>>
>>>> This seems to be a fairly common pattern: "blk_bs(blk_by_legacy_dinfo())".
>>>> How about a helper function ?
>>>
>>> Yes, except the pattern is going to evaporate in patch 14 :)
>> 
>> haha
>
> Still, worth mentioning this fact in the commit message, rather than
> making reviewers guess at it (that is, add a sentence something like:
> This commit mechanically introduces long lines via repetitive pattern
> replacement that will be shortened in a later patch

I can do that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]