Merge branch 'merge'
This commit is contained in:
@@ -885,7 +885,7 @@ int of_irq_map_one(struct device_node *device, int index, struct of_irq *out_irq
|
||||
intsize = *tmp;
|
||||
|
||||
/* Check index */
|
||||
if (index * intsize >= intlen)
|
||||
if ((index + 1) * intsize > intlen)
|
||||
return -EINVAL;
|
||||
|
||||
/* Get new specifier and map it */
|
||||
|
Reference in New Issue
Block a user