Bug 25702 - [cppcheck] found regression due to missing "{"
Summary: [cppcheck] found regression due to missing "{"
Status: CLOSED CODE_FIX
Alias: None
Product: Process Management
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: process_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 12:39 UTC by Martin Ettl
Modified: 2011-01-24 12:57 UTC (History)
2 users (show)

See Also:
Kernel Version: linux-2.6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
proposed patch to fix the issue (282 bytes, patch)
2010-12-27 12:40 UTC, Martin Ettl
Details | Diff

Description Martin Ettl 2010-12-27 12:39:43 UTC
cppcheck, a static code analysis tool (http://sourceforge.net/projects/cppcheck/). It found a regression in file linux-2.6/arch/mn10300/kernel/irq.c. This only happens when the preprocessor define 
CONFIG_HOTPLUG_CPU is set. Please refer the attached patch that fixes the issue.

Best regards from the cppcheck team

Martin
Comment 1 Martin Ettl 2010-12-27 12:40:59 UTC
Created attachment 41712 [details]
proposed patch to fix the issue
Comment 2 Florian Mickler 2011-01-24 12:57:26 UTC
a fix for this has been merged in 2.6.37:
commit d9a1abe4844e7591cd82e167a1a09e6546f6c45e
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Mon Jan 3 14:59:11 2011 -0800

    arch/mn10300/kernel/irq.c: fix build

Note You need to log in before you can comment on or make changes to this bug.