diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2023-12-27 15:21:52 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-02-05 16:22:39 +0300 |
commit | e8b7d11c7e4b88c4988f2c740e9303f39a8c2ec4 (patch) | |
tree | a9b556babafd2b546d443ab968d563437f03ab37 /tools/perf/scripts/python/task-analyzer.py | |
parent | 8d55a90b2b401e6b5dd289ebbc04dfd9e72ed35f (diff) | |
download | linux-e8b7d11c7e4b88c4988f2c740e9303f39a8c2ec4.tar.xz |
mtd: ssfdc: One function call less in ssfdcr_add_mtd() after error detection
The kfree() function was called in one case by
the ssfdcr_add_mtd() function during error handling
even if the passed data structure member contained a null pointer.
This issue was detected by using the Coccinelle software.
Thus use another label.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/56d92e42-db9e-4767-bcb1-9686bdf34a03@web.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions