summaryrefslogtreecommitdiff
path: root/mm/kasan/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-05-23 16:56:17 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-23 16:56:17 -0700
commitc0096a28588d5a72fa290a74593cf9737c0b1cfb (patch)
treed753232b4b8456e57c5f83bc31aab36c1ac4a1d3 /mm/kasan/Makefile
parent54b9aca08c9a141f48beb533ccb9ebcee679e855 (diff)
parent9250dccc119e72aecb0dfa786c94b4d8eb67ea29 (diff)
Merge branch 'net-provide-a-devres-variant-of-register_netdev'
Bartosz Golaszewski says: ==================== net: provide a devres variant of register_netdev() Using devres helpers allows to shrink the probing code, avoid memory leaks in error paths make sure the order in which resources are freed is the exact opposite of their allocation. This series proposes to add a devres variant of register_netdev() that will only work with net_device structures whose memory is also managed. First we add the missing documentation entry for the only other networking devres helper: devm_alloc_etherdev(). Next we move devm_alloc_etherdev() into a separate source file. We then use a proxy structure in devm_alloc_etherdev() to improve readability. Last: we implement devm_register_netdev() and use it in mtk-eth-mac driver. v1 -> v2: - rebase on top of net-next after driver rename, no functional changes ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/kasan/Makefile')
0 files changed, 0 insertions, 0 deletions