netdev: ARRAY_SIZE() cleanups
Get series with b4
b4 am 20071018094706.GA23058@inspironVersions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LENdrivers/ drivers/ drivers/ +6 more | +15 | 1 reply | |
| 2/3 | netdev: ARRAY_SIZE() cleanupsdrivers/ drivers/ drivers/ +7 more | +19 | 0 replies | |
| 3/3 | sk98lin: kill bogus check and convert to use ARRAY_SIZE()drivers/ drivers/ drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] netdev: ARRAY_SIZE() cleanups
Hi,
these patches convert more cases of array size calculations to use the ARRAY_SIZE() macro.
First patch converts those of the form 'sizeof(arr) / ETH_GSTRING_LEN', second one some other mostly obvious cases, and the third applies to the almost dead sk98lin driver (which also removes a useless check AFAICS).
Alex