Files
i2som-imx-linux/lib
Dan Carpenter e710245315 devres: fix a for loop bounds check
commit 1f35d04a02 upstream.

The iomap[] array has PCIM_IOMAP_MAX (6) elements and not
DEVICE_COUNT_RESOURCE (16).  This bug was found using a static checker.
It may be that the "if (!(mask & (1 << i)))" check means we never
actually go past the end of the array in real life.

Fixes: ec04b07584 ('iomap: implement pcim_iounmap_regions()')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2015-11-27 12:48:20 +00:00
..
2011-09-21 13:39:59 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2015-11-27 12:48:20 +00:00
2012-10-17 03:49:37 +01:00
2011-09-20 23:24:44 -04:00
2011-07-25 20:57:15 -07:00
2011-08-06 18:32:45 -07:00