aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2014-10-13 15:53:42 -0700
committerLinus Torvalds <[email protected]>2014-10-14 02:18:21 +0200
commita2d6aa8fa0750fe1d2fc9673d4a46b2fd87e44b3 (patch)
tree87a101e8d879885b8515eefc338e2e99a105b15e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent669280a152ce5144321c0e511498877383f34393 (diff)
kexec: check if crashk_res_low exists when exclude it from crash mem ranges
Add a check if crashk_res_low exists just like GART region does. If crashk_res_low doesn't exist, calling exclude_mem_range is unnecessary. Meanwhile, since crashk_res_low has been initialized at definition, it's safe just use "if (crashk_low_res.end)" to check if it's exist. And this can make it consistent with other places of check. Signed-off-by: Baoquan He <[email protected]> Acked-by: Vivek Goyal <[email protected]> Cc: Eric W. Biederman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions