Gustavo A. R. Silva e034c6d23b tipc: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-19 20:15:25 -07:00
..
2018-03-23 13:12:18 -04:00
2018-08-29 18:04:54 -07:00
2020-06-19 20:15:25 -07:00
2020-06-19 20:15:25 -07:00