fsldma: fix check on potential fdev->chan[] overflow

Fix the check of potential array overflow when using corrupted channel
device tree nodes.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Li Yang <leoli@freescale.com>
This commit is contained in:
Roel Kluin 2009-05-22 16:46:52 +08:00 • committed by Li Yang
commit f47edc6dab