Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533237

Re: [PATCH] soc: ti: qmss: fix the case when !SMP

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] soc: ti: qmss: fix the case when !SMP
Date 2016-11-30 12:40 +0100
Message-ID <sJboZ-5v2-11@gated-at.bofh.it> (permalink)
References <sIYUN-5Xz-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] soc: ti: qmss: fix the case when !SMP Grygorii Strashko <grygorii.strashko@ti.com> - 2016-11-29 23:20 +0100
  Re: [PATCH] soc: ti: qmss: fix the case when !SMP Arnd Bergmann <arnd@arndb.de> - 2016-11-30 12:40 +0100
    Re: [PATCH] soc: ti: qmss: fix the case when !SMP Grygorii Strashko <grygorii.strashko@ti.com> - 2016-11-30 17:20 +0100
    Re: [PATCH] soc: ti: qmss: fix the case when !SMP Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-11-30 18:10 +0100
      Re: [PATCH] soc: ti: qmss: fix the case when !SMP Grygorii Strashko <grygorii.strashko@ti.com> - 2016-11-30 18:20 +0100
        Re: [PATCH] soc: ti: qmss: fix the case when !SMP Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-11-30 18:20 +0100
          Re: [PATCH] soc: ti: qmss: fix the case when !SMP Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-12-02 17:50 +0100

csiph-web