summaryrefslogtreecommitdiff
path: root/net/core/ethtool.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-07 23:45:08 +0000
committerDavid S. Miller <davem@davemloft.net>2018-01-09 11:40:18 -0500
commit2b1eaa66352ac453b44451c230d8edd6c5a5ea80 (patch)
tree85cc29bb170aa22a96ce2b172e5acea6b57cc4d1 /net/core/ethtool.c
parentfaa9b39f0e9ddfa8c83725b3f230784976dd3c7f (diff)
be2net: use ARRAY_SIZE for array sizing calculation on array cmd_priv_map
Use the ARRAY_SIZE macro on array cmd_priv_map to determine size of the array. Improvement suggested by coccinelle. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions