aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorAlden Tondettar <[email protected]>2016-05-18 21:09:18 +0000
committerJan Kara <[email protected]>2016-05-19 10:00:03 +0000
commit3743a03e72b73b6234768bce06d7bf5a57c47285 (patch)
tree4882cd86fe1518597de563adbdf76236b484072c /drivers/acpi/cppc_acpi.c
parentudf: Don't BUG on missing metadata partition descriptor (diff)
downloadkernel-3743a03e72b73b6234768bce06d7bf5a57c47285.tar.gz
kernel-3743a03e72b73b6234768bce06d7bf5a57c47285.zip
udf: Use IS_ERR when loading metadata mirror file entry
Currently when udf_get_pblock_meta25() fails to map a block using the primary metadata file, it will attempt to load the mirror file entry by calling udf_find_metadata_inode_efe(). That function will return a ERR_PTR if it fails, but the return value is only checked against NULL. Test the return value using IS_ERR() and change it to NULL if needed. Signed-off-by: Alden Tondettar <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions