[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH v2 0/5] Replace sizeof(array) / sizeof(*array)
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH v2 0/5] Replace sizeof(array) / sizeof(*array) |
Date: |
Sat, 07 Dec 2013 23:00:40 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
07.12.2013 17:48, Stefan Weil wrote:
> These patches were previously sent as single patches instead of
> a patch series. They all replace sizeof(array) / sizeof(*array)
> by macros.
>
> v2: Fix typos in commit messages (thanks to Peter Maydell).
Applied to trivial-patches queue.
> [PATCH v2 1/5] misc: Use macro ARRAY_SIZE where possible
> [PATCH v2 2/5] ui/cocoa: Use macro ARRAY_SIZE where possible
> [PATCH v2 3/5] exynos4210: Use macro ARRAY_SIZE where possible
> [PATCH v2 4/5] target-mips: Use macro ARRAY_SIZE where possible
Especially this one is nice. Original code was rather obscure,
copied into multiple places.
In this patch I fixed a minor formatting issue (uneven row of
backslashes in MIPSDSP32_UNOP_ENV macro definition).
> [PATCH v2 5/5] linux-user: Use macro TARGET_NSIG_WORDS where possible
All the changes appears to be fine and simple.
Stefan, at this rate, whole qemu-trivial becomes solely your baby.. ;)
Thanks!
/mjt
- [Qemu-trivial] [PATCH v2 0/5] Replace sizeof(array) / sizeof(*array), Stefan Weil, 2013/12/07
- [Qemu-trivial] [PATCH v2 2/5] ui/cocoa: Use macro ARRAY_SIZE where possible, Stefan Weil, 2013/12/07
- [Qemu-trivial] [PATCH v2 5/5] linux-user: Use macro TARGET_NSIG_WORDS where possible, Stefan Weil, 2013/12/07
- [Qemu-trivial] [PATCH v2 1/5] misc: Use macro ARRAY_SIZE where possible, Stefan Weil, 2013/12/07
- [Qemu-trivial] [PATCH v2 3/5] exynos4210: Use macro ARRAY_SIZE where possible, Stefan Weil, 2013/12/07
- [Qemu-trivial] [PATCH v2 4/5] target-mips: Use macro ARRAY_SIZE where possible, Stefan Weil, 2013/12/07
- Re: [Qemu-trivial] [Qemu-devel] [PATCH v2 0/5] Replace sizeof(array) / sizeof(*array), Peter Maydell, 2013/12/07
- Re: [Qemu-trivial] [PATCH v2 0/5] Replace sizeof(array) / sizeof(*array),
Michael Tokarev <=