Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35123 - gentoo-sources-2.4.22-r1 LOG_BUF_LEN in include/asm/kmsgdump.h not updated to reflect CONFIG_LOG_BUF_SHIFT option
Summary: gentoo-sources-2.4.22-r1 LOG_BUF_LEN in include/asm/kmsgdump.h not updated to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 03:43 UTC by Jeremy Huddleston (RETIRED)
Modified: 2003-12-10 12:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (config_log_bug_shift.patch,446 bytes, patch)
2003-12-05 12:07 UTC, Leandro Dorileo (RETIRED)
Details | Diff
patch (patch,797 bytes, patch)
2003-12-05 14:48 UTC, Jeremy Huddleston (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2003-12-05 03:43:34 UTC
prinkt.c's LOG_BUF_LEN does get updated based on CONFIG_LOG_BUF_SHIFT, but 
include/asm/kmsgdump.h needs to be updated as well.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Leandro Dorileo (RETIRED) gentoo-dev 2003-12-05 12:07:26 UTC
Created attachment 21756 [details, diff]
patch

take a look if is about it you are talking about...
Comment 2 Leandro Dorileo (RETIRED) gentoo-dev 2003-12-05 13:18:04 UTC
execuse my english....

Take a look if it (atached file) is what you are talking about....

Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2003-12-05 14:48:00 UTC
Created attachment 21763 [details, diff]
patch

Actually, I was thinking more like this...

We need to linux/config.h to actually get access to those macros, so it kinda
makes the header a bit ugly, but it needs to have the same value as in
printk.c...
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-12-05 15:55:55 UTC
In CVS in gentoo-sources-2.4.22-r1; just remerge it and the patch is in. Brian, can you please sort this out at your end for the next release?
Comment 5 Brian Jackson (RETIRED) gentoo-dev 2003-12-10 12:14:08 UTC
Okay, I talked to willy about this, and he says, the second patch is okay. He doesn't like the code duplication, but there's not much to do about that without moving the #define from printk.c to a common header. I've fixed this in the local tree, so it'll be in the rest of the gentoo-sources. Thanks for the help.