[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: Extract some external ARM CPU API
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: Extract some external ARM CPU API |
Date: |
Fri, 23 Oct 2015 16:03:41 +0100 |
On 23 October 2015 at 16:01, Pavel Fedin <address@hidden> wrote:
> Hello!
>
>> Please don't do two things in one patch. (I actually read this patch
>> code-first and thought you'd accidentally inserted this change due
>> to a rebasing mishap...) It's particularly bad in patches which are
>> otherwise almost entirely moving code from one file to another,
>> because it's easy to overlook the substantive change in the resulting
>> large patch.
>
> Ok, ok, sorry... I really wanted to push this in somehow, and i thought that
> maybe you'll like it as a little thing that completes the reusable API.
> Should i post v2 with this hunk removed?
Yes, please.
> Other header files, i believe, do it for a reason. To tell the truth i made
> the patch very quickly, and didn't have much time to dig in
> OBJECT_CLASS_CHECK() internals. Does it need a sizeof() maybe? And without it
> thing looked a bit ugly and incomplete.
> Class structure is pretty self-sufficient and straightforward, so i just
> moved it too.
OK.
thanks
-- PMM