Home
last modified time | relevance | path

Searched hist:"865 bfb2a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_ioctl.c865bfb2a Tue Sep 28 15:12:39 CDT 2021 Gustavo A. R. Silva <gustavoars@kernel.org> net: bridge: Use array_size() helper 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().

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>