Bug 453281
| Summary: | kernel fails to build if the BusLogic module is enabled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Akemi Yagi <amyagi> |
| Component: | kernel | Assignee: | 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 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