commit | 52a59bd509e3dc458be99dcf333b778e6e3b3749 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Thu Sep 21 23:33:29 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 22 21:25:52 2017 -0700 |
tree | 280d07c8604dcf9f7f93ccd649cbcb58ae1a7058 | |
parent | 242c1a28eb61cb34974e8aa05235d84355940a8a [diff] |
net: use 32-bit arithmetic while allocating net device Private part of allocation is never big enough to warrant size_t. Space savings: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10 (-10) function old new delta alloc_netdev_mqs 1120 1110 -10 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>