* [PATCH] reduce CONFIG_INPUT as forward symbol @ 2002-08-26 5:59 Randy.Dunlap 2002-08-26 7:34 ` Vojtech Pavlik 0 siblings, 1 reply; 4+ messages in thread From: Randy.Dunlap @ 2002-08-26 5:59 UTC (permalink / raw) To: torvalds, ralf; +Cc: linux-kernel Hi, I've been using gcml2 from Greg Banks to look at CONFIG_ variable dependencies in config.in files. By moving drivers/input/config.in before drivers/char/Config.in and drivers/usb/Config.in for arch/alpha and arch/mips(64), several (7) instances of this message: forward declared symbol "CONFIG_INPUT" used in dependency list and (6) instances of this one: forward declared symbol "CONFIG_SOUND_GAMEPORT" used in dependency list can be removed. (Yes, the latter one is for OSS drivers, so it's not so important.) It also adds one forward dependency for a USB joystick in the input subsystem [still only for alpha and mips(64)]. Most other arches are already like this. This patch is to 2.5.31-bk7 (jgarzik's latest snapshot). Please apply. -- ~Randy ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] reduce CONFIG_INPUT as forward symbol 2002-08-26 5:59 [PATCH] reduce CONFIG_INPUT as forward symbol Randy.Dunlap @ 2002-08-26 7:34 ` Vojtech Pavlik 2002-08-26 16:28 ` [PATCH] reduce CONFIG_INPUT as forward symbol (with diff) Randy.Dunlap 0 siblings, 1 reply; 4+ messages in thread From: Vojtech Pavlik @ 2002-08-26 7:34 UTC (permalink / raw) To: Randy.Dunlap; +Cc: torvalds, ralf, linux-kernel On Sun, Aug 25, 2002 at 10:59:47PM -0700, Randy.Dunlap wrote: > > Hi, > > I've been using gcml2 from Greg Banks to look at CONFIG_ > variable dependencies in config.in files. > > By moving drivers/input/config.in before drivers/char/Config.in > and drivers/usb/Config.in for arch/alpha and arch/mips(64), > several (7) instances of this message: > forward declared symbol "CONFIG_INPUT" used in dependency list > and (6) instances of this one: > forward declared symbol "CONFIG_SOUND_GAMEPORT" used in > dependency list > can be removed. (Yes, the latter one is for OSS drivers, > so it's not so important.) > > It also adds one forward dependency for a USB joystick > in the input subsystem [still only for alpha and mips(64)]. > Most other arches are already like this. > > This patch is to 2.5.31-bk7 (jgarzik's latest snapshot). > Please apply. I'd like to take a look at the patch - both the symbols are from the input drivers. Where can I find it? And what was the exact problem? -- Vojtech Pavlik SuSE Labs ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] reduce CONFIG_INPUT as forward symbol (with diff) 2002-08-26 7:34 ` Vojtech Pavlik @ 2002-08-26 16:28 ` Randy.Dunlap 2002-08-26 16:33 ` Vojtech Pavlik 0 siblings, 1 reply; 4+ messages in thread From: Randy.Dunlap @ 2002-08-26 16:28 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: torvalds, ralf, linux-kernel [repost with patch this time] Hi, I've been using gcml2 from Greg Banks to look at CONFIG_ variable dependencies in config.in files. By moving drivers/input/config.in before drivers/char/Config.in and drivers/usb/Config.in for arch/alpha and arch/mips(64), several (7) instances of this message: forward declared symbol "CONFIG_INPUT" used in dependency list and (6) instances of this one: forward declared symbol "CONFIG_SOUND_GAMEPORT" used in dependency list can be removed. (Yes, the latter one is for OSS drivers, so it's not so important.) It also adds one forward dependency for a USB joystick in the input subsystem [still only for alpha and mips(64)]. Most other arches are already like this. This patch is to 2.5.31-bk7 (jgarzik's latest snapshot). Please apply. On Mon, 26 Aug 2002, Vojtech Pavlik wrote: | | I'd like to take a look at the patch - both the symbols are from the | input drivers. Where can I find it? And what was the exact problem? Yes, I forgot the patch...too late last night. It's now below. This patch just makes alpha and mips(64) use the same ordering for "source drivers/input/Config.in" that most other arches use, so that there are fewer forward references to CONFIG_INPUT. Please apply. -- ~Randy --- ./arch/alpha/config.in.inputt Sun Aug 25 21:14:09 2002 +++ ./arch/alpha/config.in Sun Aug 25 21:37:33 2002 @@ -335,6 +335,7 @@ fi endmenu +source drivers/input/Config.in source drivers/char/Config.in source drivers/char/Config-tape.in @@ -371,7 +372,6 @@ endmenu source drivers/usb/Config.in -source drivers/input/Config.in source net/bluetooth/Config.in --- ./arch/mips64/config.in.inputt Sun Aug 25 21:14:09 2002 +++ ./arch/mips64/config.in Sun Aug 25 22:08:45 2002 @@ -186,6 +186,8 @@ fi endmenu +source drivers/input/Config.in + source drivers/char/Config.in source drivers/char/Config-tape.in @@ -229,7 +231,6 @@ fi source drivers/usb/Config.in -source drivers/input/Config.in mainmenu_option next_comment comment 'Kernel hacking' --- ./arch/mips/config.in.inputt Sun Aug 25 21:14:09 2002 +++ ./arch/mips/config.in Sun Aug 25 22:04:30 2002 @@ -395,6 +395,8 @@ fi endmenu +source drivers/input/Config.in + source drivers/char/Config.in source drivers/char/Config-tape.in @@ -482,7 +484,6 @@ fi source drivers/usb/Config.in -source drivers/input/Config.in mainmenu_option next_comment comment 'Kernel hacking' ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] reduce CONFIG_INPUT as forward symbol (with diff) 2002-08-26 16:28 ` [PATCH] reduce CONFIG_INPUT as forward symbol (with diff) Randy.Dunlap @ 2002-08-26 16:33 ` Vojtech Pavlik 0 siblings, 0 replies; 4+ messages in thread From: Vojtech Pavlik @ 2002-08-26 16:33 UTC (permalink / raw) To: Randy.Dunlap; +Cc: Vojtech Pavlik, torvalds, ralf, linux-kernel On Mon, Aug 26, 2002 at 09:28:08AM -0700, Randy.Dunlap wrote: > [repost with patch this time] > > Hi, > > I've been using gcml2 from Greg Banks to look at CONFIG_ > variable dependencies in config.in files. > > By moving drivers/input/config.in before drivers/char/Config.in > and drivers/usb/Config.in for arch/alpha and arch/mips(64), > several (7) instances of this message: > forward declared symbol "CONFIG_INPUT" used in dependency list > and (6) instances of this one: > forward declared symbol "CONFIG_SOUND_GAMEPORT" used in > dependency list > can be removed. (Yes, the latter one is for OSS drivers, > so it's not so important.) > > It also adds one forward dependency for a USB joystick > in the input subsystem [still only for alpha and mips(64)]. > Most other arches are already like this. > > This patch is to 2.5.31-bk7 (jgarzik's latest snapshot). > Please apply. > > On Mon, 26 Aug 2002, Vojtech Pavlik wrote: > | > | I'd like to take a look at the patch - both the symbols are from the > | input drivers. Where can I find it? And what was the exact problem? > > Yes, I forgot the patch...too late last night. > It's now below. > > This patch just makes alpha and mips(64) use the same ordering > for "source drivers/input/Config.in" that most other arches use, > so that there are fewer forward references to CONFIG_INPUT. > > Please apply. I see. Yes, this is correct. > --- ./arch/alpha/config.in.inputt Sun Aug 25 21:14:09 2002 > +++ ./arch/alpha/config.in Sun Aug 25 21:37:33 2002 > @@ -335,6 +335,7 @@ > fi > endmenu > > +source drivers/input/Config.in > source drivers/char/Config.in > source drivers/char/Config-tape.in > > @@ -371,7 +372,6 @@ > endmenu > > source drivers/usb/Config.in > -source drivers/input/Config.in > > source net/bluetooth/Config.in > > --- ./arch/mips64/config.in.inputt Sun Aug 25 21:14:09 2002 > +++ ./arch/mips64/config.in Sun Aug 25 22:08:45 2002 > @@ -186,6 +186,8 @@ > fi > endmenu > > +source drivers/input/Config.in > + > source drivers/char/Config.in > > source drivers/char/Config-tape.in > @@ -229,7 +231,6 @@ > fi > > source drivers/usb/Config.in > -source drivers/input/Config.in > > mainmenu_option next_comment > comment 'Kernel hacking' > --- ./arch/mips/config.in.inputt Sun Aug 25 21:14:09 2002 > +++ ./arch/mips/config.in Sun Aug 25 22:04:30 2002 > @@ -395,6 +395,8 @@ > fi > endmenu > > +source drivers/input/Config.in > + > source drivers/char/Config.in > > source drivers/char/Config-tape.in > @@ -482,7 +484,6 @@ > fi > > source drivers/usb/Config.in > -source drivers/input/Config.in > > mainmenu_option next_comment > comment 'Kernel hacking' -- Vojtech Pavlik SuSE Labs ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-26 16:29 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-08-26 5:59 [PATCH] reduce CONFIG_INPUT as forward symbol Randy.Dunlap 2002-08-26 7:34 ` Vojtech Pavlik 2002-08-26 16:28 ` [PATCH] reduce CONFIG_INPUT as forward symbol (with diff) Randy.Dunlap 2002-08-26 16:33 ` Vojtech Pavlik
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®