[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5501170.dgvo5UdPBX@wuerfel>
Date: Wed, 30 Nov 2016 12:37:17 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Grygorii Strashko <grygorii.strashko@...com>,
Murali Karicheri <m-karicheri2@...com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Sekhar Nori <nsekhar@...com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: ti: qmss: fix the case when !SMP
On Tuesday, November 29, 2016 4:15:08 PM CET Grygorii Strashko wrote:
> range->num_irqs++;
>
> - if (oirq.args_count == 3)
> + if (IS_ENABLED(SMP) && oirq.args_count == 3)
> range->irqs[i].cpu_map =
> (oirq.args[2] & 0x0000ff00) >> 8;
>
I think you mean CONFIG_SMP, not SMP. With the change above, the
code will never be executed.
Arnd
Powered by blists - more mailing lists