Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 453281

Summary: kernel fails to build if the BusLogic module is enabled
Product: Red Hat Enterprise Linux 5 Reporter: Akemi Yagi <amyagi>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-30 12:28:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Akemi Yagi 2008-06-28 20:47:16 UTC
Description of problem: In the kernel shipped with CentOS 5.2, if BusLogic is
enabled ( CONFIG_SCSI_BUSLOGIC=m ),it generates these errors during kernel
compilation:

In file included from drivers/scsi/BusLogic.c:56:
drivers/scsi/BusLogic.h:241: error: redeclaration of enumerator ‘false’
include/linux/stddef.h:16: error: previous definition of ‘false’ was here
drivers/scsi/BusLogic.h:243: error: redeclaration of enumerator ‘true’
include/linux/stddef.h:18: error: previous definition of ‘true’ was here

This is because drivers/scsi/BusLogic.h contains:

typedef enum {
        false,
        true
} PACKED boolean;

and include/linux/stddef.h in the -92 kernel (but not in -53 or earlier) has:

enum {
        false = 0,
        true = 1
};

As a result, building the -92 kernel fails. 

Version-Release number of selected component (if applicable): kernel-2.6.18-92


How reproducible: Always


Steps to Reproduce:
1. Enable BusLogic in kernel config ( CONFIG_SCSI_BUSLOGIC=m )
2. Build the kernel
3.
  
Actual results: Compilation fails


Expected results:Compilation completes


Additional info: also filed with bugs.centos.org

Comment 1 Prarit Bhargava 2008-06-30 12:28:28 UTC

*** This bug has been marked as a duplicate of 445095 ***