Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758178AbcK3QLG (ORCPT ); Wed, 30 Nov 2016 11:11:06 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:63518 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758123AbcK3QK5 (ORCPT ); Wed, 30 Nov 2016 11:10:57 -0500 Subject: Re: [PATCH] soc: ti: qmss: fix the case when !SMP To: Arnd Bergmann , References: <20161129221508.10551-1-grygorii.strashko@ti.com> <5501170.dgvo5UdPBX@wuerfel> CC: Murali Karicheri , Santosh Shilimkar , Sekhar Nori , From: Grygorii Strashko Message-ID: Date: Wed, 30 Nov 2016 10:10:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <5501170.dgvo5UdPBX@wuerfel> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [128.247.83.173] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 541 Lines: 21 On 11/30/2016 05:37 AM, Arnd Bergmann wrote: > 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. > Thanks. I'll resend. -- regards, -grygorii