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). [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 [PATCH v2 5/5] linux-user: Use macro TARGET_NSIG_WORDS where possible