- 13 Jan, 2003 40 commits
-
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The variable rif_table should be neither global nor initialized to 0.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> net/irda/qos.c exports some variables that are not used in any other file. This makes them static to avoid namespace conflicts
-
Rusty Russell authored
From: Bob Miller <rem@osdl.org> Added and #if/#endif pair to "remove" the un-used unknown_chipset declaration. Comments in generic.c indicate that unknow_chipset this will be used again in the future.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> A global variable should not be called 'log', this makes it static
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The function init_irq is only used in ide-probe.c, so it should better be static.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> balloc[] and tails[] are used only in the file they are defined in, so they should be made static
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The strdup function in sunrpc should not be global
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> Variables named 'io' and 'dma' should not be global
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> A global variable should not be called 'verbose'. It can be made static since it is only used in one file.
-
Rusty Russell authored
From: Bob Miller <rem@osdl.org> Deleted an unused stack variable from sc1200_suspend.
-
Rusty Russell authored
From: Pablo Menichini <pablo@menichini.com.ar>
-
Rusty Russell authored
From: Pablo Menichini <pablo@menichini.com.ar>
-
Rusty Russell authored
From: william stinson <wstinson@wanadoo.fr> this proposed patch for drivers/scsi/cpqfcTSinit.c scsi driver for Linux removes two calls to check_region using request_region instead This is patch number 28 in a series of check_region patches I am doing as part of the kernel janitors project.
-
Rusty Russell authored
From: Rusty Lynch <rusty@stinkycat.com> VT support requires drivers/char/keyboard.c which makes function calls implemented in drivers/input/, so that attempting to set CONFIG_INPUT=m or just not setting CONFIG_INPUT will result in a compile error if CONFIG_VT is on.
-
Rusty Russell authored
From: william stinson <wstinson@wanadoo.fr> this patch for drivers/ide/legacy/umc8672.c ide driver for Linux removes one call to check_region using request_region instead I don't have this hardware so patch is not tested. This patch removes all references to check_region in this driver. This is patch number 31 in a series of check_region patches I am doing as part of the kernel janitors project.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The pas2 driver has a global variable named 'lock', which pollutes the global namespace. This patch adds a pas_ prefix. The same is done for 'translate_code'.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The i8k driver has global variables named 'force' and 'power_status' that pollute the name space. This makes them static.
-
Rusty Russell authored
From: Geert Uytterhoeven <geert@linux-m68k.org> Kill duplicate extern char _stext (already declared globally 14 lines before)
-
Rusty Russell authored
From: Chris Wilson <chris@qwirx.com> As part of the Linux Kernel Janitors project, I would like to submit my patch for bpqether.c. The document Documentation/cli-sti-removal.txt says that cli() should no longer be used to disable interrupts. This patch removes all references to cli() and {save,restore}_flags. - added a static spinlock to protect bpq_devices - changed cli/sti and {save,restore}_flags to taking the spinlock and disabling interrupts with spin_lock_irqsave - included my previous patch for proc_net_create, but as a separate hunk, so if you've already applied then just ignore the rejected hunk. I have verified that the patched driver compiles without warnings, but since I don't have the hardware I can't test it. Please treat with caution.
-
Rusty Russell authored
From: william stinson <wstinson@wanadoo.fr> this proposed patch for drivers/atm/ambassador.c atm driver for Linux removes one call to check_region using request_region instead I don't have this hardware so patch is not tested. This patch removes all references to check_region in this driver. This is patch number 30 in a series of check_region patches I am doing as part of the kernel janitors project.
-
Rusty Russell authored
From: Bob Miller <rem@osdl.org> The function, cs5520_tune_chipset() is declared to return an int. Added a return statement instead of just falling of off the bottom.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> A global variable should not be called 'debuglevel'. It can be made static since it is only used in one file.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> A global variable should not be called 'ioctl_mutex', this makes it static.
-
Rusty Russell authored
The address allows oprofile and ksymoops to work again. The state is simply informative.
-
Rusty Russell authored
From: Marcus Alanen <maalanen@ra.abo.fi> Moves the snd_legacy_find_free_ioport definition to opti92x-ad1848.c, since it is the only user.
-
Rusty Russell authored
From: Arnd Bergmann <arnd@bergmann-dalldorf.de> The skfp driver has a global function named 'set_int'. This makes it static to avoid namespace pollution.
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
Andries E. Brouwer authored
The below does two things: (i) do not try to spin up a CF reader without media (ii) be careful when asking for the cache parameters mode page [do not ask for this page when no media are present: it is meaningless, and some devices react badly if we do; check the reply so that we do not read past the end of the reply; first give a small transport length - some USB devices are unhappy if we ask for more than they provide] Andries
-
John Stultz authored
This cleans up the delay code by moving the timer-specific implementations into the timer_ops struct. Thus, rather then doing: if(x86_delay_tsc) __rdtsc_delay(loops); else if(x86_delay_cyclone) __cyclone_delay(loops); else if(whatever.... we just simply do: timer->delay(loops); Making it much easier to accommodate alternate time sources.
-
John Stultz authored
This creates an empty timer_opt structure (timer_none) which is then used as a default initializer to the timer pointer. This lets us avoid having to check before dereferencing the timer in future code.
-
Russell King authored
This patch moves BUG() and PAGE_BUG() from asm/page.h into asm/bug.h. We also fix up linux/dcache.h, which included asm/page.h for the sole purpose of getting the BUG() definition. Since linux/kernel.h and linux/smp.h make use of BUG(), asm/bug.h is included there as well. In addition, linux/jbd.h did not contain a clear path with which to obtain the archtecture BUG() definition, but did contain its own definition.
-
Tom Rini authored
The following patch adds an explicit no list of arches who do not want to have the "Enhanced Real Time Clock Support" RTC driver asked. This adds PPC32 (who for a long time had their own 'generic' RTC driver, and then have adopted the genrtc driver) and PARISC (who have always used the genrtc driver). Per request of Peter Chubb, IA64 is on this list as well. The problem is that on some archs there is no hope of this driver working, and having it compiled into the kernel can cause many different problems. On the other hand, there are some arches for whom that driver does work, on some platforms. So having an explicit yes list would result in some rather ugly statements.
-
Ruslan U. Zakirov authored
This fixes the wrong order of array(amd_ide_chips) that causes a BUG() in 436 line with any conditions, because we use the wrong amd_config.
-
Patrick Mochel authored
This is needed to compile kernel/cpufreq.c if the legacy procfs interface is not enabled in the latest BK tree.
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Matthew Wilcox authored
Updates for drivers/parisc. Mostly conversion to generic device model. New hppb driver from Ryan Bradetich.
-
Dominik Brodowski authored
Allow for per-CPU initialization of CPUfreq. Therefore, it's not necessary any longer to kmalloc the per-CPU policy struct. To use this, cpufreq_driver->policy has to be set to NULL. Of course, cpufreq_driver->init is needed then, which is the appropriate function for CPU initialization. cpufreq_driver->exit is available for cleanup. All existing drivers continue to work without any changes, just for clarity ->init and ->exit are set to NULL, and the names accordingly.
-
Patrick Mochel authored
This reinstates the count parameter to store() methods.
-
Patrick Mochel authored
This updates new cpufreq sysfs code to new rules.
-