Bug 17477
Summary: | Driver for maestro sound chip causes errors during compile of kernel | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | John C. Norton <jnorton> |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.2 | CC: | jnorton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-12-15 01:46:50 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
John C. Norton
2000-09-13 19:34:07 UTC
Actually, I think I now know the fix for this. After more investigation, I found that the MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT were simply macros which are defined in /usr/src/linux/linux/module.h, for use with modules (but NOT when the maestro driver is built into the kernel). So I think the appropriate fix is simply to wrap each occurrence of MOD_INC_USE_COUNT and MOD_USE_DEC_COUNT with #ifdef statments in /usr/src/linux/drivers/sound/maestro.c, that is: #ifdef MODULE MOD_INC_USE_COUNT; #endif /* MODULE */ When I made these changes and recompiled the kernel, I got the sound support I needed. Thanks, John C. Norton 9/14/00 Thanks. I believe the current 2.2. development code is correct on this one already. Your fix is quite sane Forgot to close it way back when |