diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-04 13:32:44 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-11 10:44:29 -0600 |
commit | 2d6221262ee948b9ae407b51a9bae693348826f5 (patch) | |
tree | c2d1e38ada3168da77eb442b749bc7aad9321c02 /arch/arm/mach-tegra/dt-setup.c | |
parent | 36f05e622446046a93ff3a2c6958b65b85c6bffd (diff) |
fs: ext4fs: Perform NULL check before dereference
In the function put_ext4 there is a NULL check for fs->dev_desc but this
has already been derefenced twice before this happens. Refactor the code
a bit to put the NULL check first.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'arch/arm/mach-tegra/dt-setup.c')
0 files changed, 0 insertions, 0 deletions