Skip to content

use ARRAY_SIZE macro

Nikitas Angelinas ath9k-devel dri-devel linux-ia64 linux-parisc linux-wireless lkml netdev 1 version Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8arch/ia64/xen: use ARRAY_SIZE macro in xen_pv_ops.carch/ia64/xen/xen_pv_ops.c+2 -30 replies
2/8arch/parisc/include/asm: use ARRAY_SIZE macro in mmzone.harch/parisc/include/asm/mmzone.h+3 -11 reply
3/8drivers/gpu/drm: use ARRAY_SIZE macro in drm_edid_modes.hdrivers/gpu/drm/drm_edid_modes.h+1 -10 replies
4/8drivers/gpu/drm/i915: use ARRAY_SIZE macro in intel_tv.cdrivers/gpu/drm/i915/intel_tv.c+2 -10 replies
5/8drivers/net/bnx2x: use ARRAY_SIZE macro in bnx2x_main.cdrivers/net/bnx2x/bnx2x_main.c+2 -31 reply
6/8drivers/net/wireless/ath/ath9k: use ARRAY_SIZE macro in ani.cdrivers/net/wireless/ath/ath9k/ani.c+3 -21 reply
7/8drivers/staging/vt6656: use ARRAY_SIZE macro in channel.cdrivers/staging/vt6656/channel.c+2 -12 replies
8/8net/wireless: use ARRAY_SIZE macro in radiotap.cnet/wireless/radiotap.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] use ARRAY_SIZE macro

This patch series replaces occurrences of the type sizeof(buffer) / sizeof(buffer[0]) with ARRAY_SIZE(buffer) in different places throughout the source tree.