diff options
| author | Heinrich Schuchardt <[email protected]> | 2020-09-23 21:13:51 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-09-29 13:19:08 -0400 |
| commit | 0ed375ebb13f8b2d69400b9df8985c8123d3fbb1 (patch) | |
| tree | 8af5723bec9fc6523fc95750dd0885f4dbe2edd8 /scripts/checkpatch.pl | |
| parent | 5558af16a01d992f32051d96b55c3625d10899c4 (diff) | |
fs/squashfs: parameter check sqfs_read_metablock()
We should check if the incoming parameter file_mapping is not NULL instead
of checking after adding an offset.
Reported-by: Coverity CID 307210
Signed-off-by: Heinrich Schuchardt <[email protected]>
Acked-by: Thomas Petazzoni <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
