commit | f6e5ee6a2f3d13aa1786f3b52da7a5f663752df7 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavoars@kernel.org> | Thu Oct 08 09:28:06 2020 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Sat Oct 10 10:34:03 2020 -0700 |
tree | dfabdf8a95db668c2440533d971d1f86fb09fbe5 | |
parent | 8df245c40aa233f9f27908c71ed035165fa4f831 [diff] |
net: thunderx: Use struct_size() helper in kmalloc() Make use of the new struct_size() helper instead of the offsetof() idiom. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>