Re: [PATCH] net: nixge: fix potential memory leak in nixge_probe()

From: Markus Elfring <hidden>
Date: 2020-07-29 07:50:41
Also in: kernel-janitors, lkml

If some processes in nixge_probe() fail, free_netdev(dev)
needs to be called to aviod a memory leak.
* Would you like to avoid a typo in this change description?

* An imperative wording can be preferred here, can't it?
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=6ba1b005ffc388c2aeaddae20da29e4810dea298#n151

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help