public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Zhenmin Li" <zli4@cs.uiuc.edu>
To: <linux-kernel@vger.kernel.org>
Subject: [OPERA] Another potential error detected by static analysis tool (2.6.4)
Date: Fri, 7 May 2004 17:22:49 -0500	[thread overview]
Message-ID: <001101c43481$d49756d0$76f6ae80@Turandot> (raw)
In-Reply-To: <20040507001407.GK9037@lorien.prodam>

Version: 2.6.4
Files:
/arch/alpha/kernel/irq.c

--- 539,547 ----
  #ifdef CONFIG_SMP
        if (i == 0) {
                seq_puts(p, "           ");
!               for (i = 0; i < NR_CPUS; i++)
!                       if (cpu_online(i))
!                               seq_printf(p, "CPU%d       ", i);
                seq_putc(p, '\n');
        }
  #endif


Maybe change to:
*** 539,547 ****
  #ifdef CONFIG_SMP
        if (i == 0) {
                seq_puts(p, "           ");
!               for (j = 0; j < NR_CPUS; j++)
!                       if (cpu_online(j))
!                               seq_printf(p, "CPU%d       ", j);
                seq_putc(p, '\n');
        }
  #endif




OPERA Research Group
University of Illinois at Urbana-Champaign



  reply	other threads:[~2004-05-07 22:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  3:41 [OPERA] Potential bugs detected by static analysis tool in 2.6.4 Zhenmin Li
2004-05-06  9:43 ` Geert Uytterhoeven
2004-05-06 16:29   ` Brad Boyer
2004-05-06 16:44   ` Zhenmin Li
2004-05-06 20:22     ` Brad Boyer
2004-05-07  0:14 ` Luiz Fernando N. Capitulino
2004-05-07 22:22   ` Zhenmin Li [this message]
2004-05-07 23:07     ` [OPERA] Another potential error detected by static analysis tool (2.6.4) Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001101c43481$d49756d0$76f6ae80@Turandot' \
    --to=zli4@cs.uiuc.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox