summaryrefslogtreecommitdiff
path: root/arch/arm/common/dmabounce.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-12-26 01:47:12 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-12-29 20:01:28 +0100
commitbc4fa69c6c42d21b5096b5d6b005a3bbaf7259d6 (patch)
treedfbee488a7e68c49aa78fde50bd83068cbbb9eab /arch/arm/common/dmabounce.c
parentc18fae6aa7f9c2e248a11f336c1846905913a609 (diff)
firedtv: add missing NULL pointer check
If there is ever going to be a FireDTV or FloppyDTV firmware which does not provide a minimal ASCII textual descriptor for Model_Id --- or if the descriptor is provided indirectly in a descriptor directory --- the ieee1394 variant of the device probe of firedtv would dereference a NULL pointer. The firewire variant of firedtv's device probe is not affected. The fix makes sure that such an unexpected firmware is safely recognized by fdtv_alloc as an unknown firmware. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'arch/arm/common/dmabounce.c')
0 files changed, 0 insertions, 0 deletions