diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-09-28 21:57:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-29 12:32:14 +0200 |
commit | ed717613f972453ab924eee8b64a62e0db83be67 (patch) | |
tree | 9c755e4cd633df47143d66763d0f655bf81e96c9 /drivers/base/test | |
parent | Merge branch 'mctp-core-updates' (diff) | |
download | linux-ed717613f972453ab924eee8b64a62e0db83be67.tar.xz linux-ed717613f972453ab924eee8b64a62e0db83be67.zip |
ethtool: ioctl: Use array_size() helper in copy_{from,to}_user()
Use array_size() helper instead of the open-coded version in
copy_{from,to}_user(). These sorts of multiplication factors
need to be wrapped in array_size().
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions