Gustavo A. R. Silva 3dd1499666 ethtool: ioctl: Use array_size() in copy_to_user()
Use array_size() helper instead of the open-coded version in
copy_to_user(). These sorts of multiplication factors need to
be wrapped in array_size().

This issue was found with the help of Coccinelle and, audited and fixed
manually.

Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-17 15:04:57 -07:00
..
2020-06-02 08:00:39 +02:00
2020-06-08 12:49:18 -07:00
2019-09-26 08:56:17 +02:00
2020-06-11 12:22:41 -07:00
2020-05-29 13:10:39 -07:00