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
..
2020-06-02 08:00:39 +02:00
2020-06-08 12:49:18 -07:00
2020-06-11 12:22:41 -07:00
2020-06-19 20:15:25 -07:00
2020-05-29 13:10:39 -07:00