aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-08-25 13:46:40 -0700
committerMartin K. Petersen <[email protected]>2017-08-25 17:08:08 -0400
commite1779b4ff5412fcb7f943f6b49cac5e70fc724e2 (patch)
treec3859142363d4cf5dae07aa0085929630a689b82 /scripts/gdb/linux/device.py
parente656f0d07aeb68b120a0033dbd1ac2d48da65a41 (diff)
scsi: scsi_transport_sas: Check kzalloc() return value
Check whether memory allocation succeeded before dereferencing the pointer to the allocated memory. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Cc: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions