Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 589988bf authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian
Browse files

drivers: irqchip: qcom: Fix SDM855 pin data



The SDM855 pin data expects a negative value at the end of the array to
mark end of array. Without a negative value, the index could go beyond
the length of the array causing undefined accesses.

Change-Id: Ib088c1248b5346f1b62e7a8021f81abdf99cb9ea
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent bc1c5404
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -141,6 +141,7 @@ static struct pdc_pin sdm855_data[] = {
	{123, 670},/*core_bi_px_gpio_89*/
	{124, 671},/*core_bi_px_gpio_31*/
	{125, 95},/*core_bi_px_gpio_49*/
	{-1},
};

static int __init qcom_pdc_gic_init(struct device_node *node,