Searched hist:"2 b1eaa66" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 2b1eaa66 Sun Jan 07 17:45:08 CST 2018 Colin Ian King <colin.king@canonical.com> 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> 2b1eaa66 Sun Jan 07 17:45:08 CST 2018 Colin Ian King <colin.king@canonical.com> 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>
|