diff options
author | Bharat Bhushan <Bharat.Bhushan@freescale.com> | 2015-06-08 11:01:05 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-06-09 06:15:57 (GMT) |
commit | 21090f1e2889190450ec0b833dffd0a3af372e2a (patch) | |
tree | bb28e9447c5609d9122b329bfba16a6cc6e203e8 /drivers/oprofile | |
parent | cf6af41b293fb4526041d14227a051a8bd6a53ea (diff) | |
download | linux-fsl-qoriq-21090f1e2889190450ec0b833dffd0a3af372e2a.tar.xz |
VFIO: Check for null pointer after malloc
Add the check whether malloc allocated memory successfully or not
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Change-Id: If306002aa8541cf76286b7b78d0027c3395672a6
Reviewed-on: http://git.am.freescale.net:8181/37576
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions