Question on a error handling related warning
Harshit Mogalapalli <[email protected]> Wed, 9 Oct 2024 11:15:04 +0530
| Newsgroups | org.kernel.vger.smatch |
|---|---|
| Message-ID | <[email protected]> |
Hi Dan, drivers/net/ethernet/cirrus/ep93xx_eth.c:852 ep93xx_eth_probe() warn: 'dev' from alloc_etherdev_mqs() not released on lines: 852. This looks like a false positive as the free(free_netdev(dev); is present in the remove function, is that correct ? How do we let smatch know about this ? Thanks, Harshit