diff options
author | Tomas Henzl <thenzl@redhat.com> | 2012-02-13 18:29:58 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 09:37:10 -0600 |
commit | c834b1c4ec8ccc9c2d814bd78264b509708fe6dd (patch) | |
tree | c79fad5e2479be7ab47e3956ce699363900e15f8 /drivers/scsi/aic7xxx/aic7xxx.reg | |
parent | cf3059a12936f8e92876e56b50bcdb092be70645 (diff) | |
download | op-kernel-dev-c834b1c4ec8ccc9c2d814bd78264b509708fe6dd.zip op-kernel-dev-c834b1c4ec8ccc9c2d814bd78264b509708fe6dd.tar.gz |
[SCSI] mpt2sas: add missing allocation check
The __get_free_pages can fail, so the return value should be checked.
Spotted thanks to Stanislaw.
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx.reg')
0 files changed, 0 insertions, 0 deletions