- 13 Mar, 2005 40 commits
-
-
Adrian Bunk authored
This patch adds a config option PARPORT_NOT_PC (and removes the PARPORT_OTHER option) that get's selected if any non-PC hardware was chosen. This way, the mega #if in parport.h is gone now. Additionally, it removes the unneeded PARPORT_NEED_GENERIC_OPS #define. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch contains the following cleanups: - make needlessly global code static - #if 0 unused code Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch contains the following cleanups: - make needlessly global code static - bnode.c: remove the unused global functions hfsplus_lock_bnode and hfsplus_unlock_bnode Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch contains the following cleanups: - make needlessly global code static - super.c: remove the unused global variable hfs_version Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
generic_serial.h contained an incorrect extern reference to the static variable gs_debug (Benoit Boissinot reported that gcc 4.0 rejects this). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes an unused global function. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Randy Dunlap authored
Reduce local stack usage in wavefront_load_gus_patch() from 984 bytes to 140 bytes (on x86-32) by using kmalloc() instead of stack for these 840 bytes: wavefront_patch_info samp, pat, prog; // 3 * 280 Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
drivers/cdrom/mcd.c:268: warning: passing arg 1 of `mcd_setup' discards qualifiers from pointer target type Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
James Nelson authored
Remove the pcxx driver. It is obsoleted by the epca driver. Signed-off-by: James Nelson <james4765@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch contains the following cleanups: - make cpqarray_pci_device_id static - merge cpqarray_init_step2 into cpqarray_init and make it static Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Mike Miller <mike.miller@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch does the following cleanups under drivers/video/kyro/ : - remove an unused global varaible from STG4000Ramdac.c - make some needlessly global code static Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch by Josef "Jeff" Sipek <jeffpc@optonline.net> fixes two documentationn paths. Signed-off-by: Josef "Jeff" Sipek <jeffpc@optonline.net> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
I didn't find any reason why this file includes mca.h. Paul Laufer already ACK'ed this patch. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes an unused function. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes the bouncing email address of Thomas Hood (I haven't found any more recent email address). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch contains the following changes to arch/i386/Kconfig: - update the X86_UP_APIC and X86_UP_IOAPIC help texts: - in the SMP case, these options are not visible - today, it's no longer only "a small number of uniprocessor systems" that have an IO-APIC - there were two X86_LOCAL_APIC and two X86_IO_APIC options - in both cases, merge them - move X86_VISWS_APIC to the other APIC options Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
The email address of Hennus Bergman in the kernel is bouncing. Aftern asking him whether I should update his email address in the Linux kernel, he replied: <-- snip --> I get a lot of spam already and I'd rather avoid getting even more by 'advertising' my email address on the internet like that. So I don't want my current email address in the kernel distribution. If you want to remove my old cybercomm.nl email address, that's fine by me. <-- snip --> This patch therefore simply his bouncing email address and no longer available homepage. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Randy Dunlap authored
drivers/char/isicom.c:1274:14: warning: Using plain integer as NULL pointer arch/x86_64/oprofile/../../i386/oprofile/backtrace.c:30:10: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
This patch modifies a few of the printk() loglevels used in init/main.c in an attempt to make them a bit more appropriate. The default loglevel is KERN_WARNING, but a few printk's without explicit loglevel are not (in my oppinion) warnings, so add proper warning levels - for instance; telling the user how many CPU's were brought up is hardly a warning, make it KERN_INFO instead. The initial printing of linux_banner is not a warning condition, I'd say it's more of a NOTICE or even INFO condition - I've made it KERN_NOTICE just as the printing of the kernel command line. A few printk's without explicit loglevel do match the default one, but I've made them explicit (the default could change in the future, and if it does then explicitly setting the proper loglevel is a nice thing). Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch makes the following changes to the PNP code: - make some needlessly global code static - remove the EXPORT_SYMBOL(pnp_assign_resources) since this function is only used in the file it is defined in Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes some completely unused code and makes some needlessly global code static in drivers/pnp/isapnp/core.c . Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes an unused global function. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
The patch fixes a bunch of warnings like these include/linux/nfsd/nfsd.h:137: warning: `inline' is not at beginning of declaration include/linux/nfsd/nfsd.h:138: warning: `inline' is not at beginning of declaration include/linux/nfsd/nfsd.h:139: warning: `inline' is not at beginning of declaration include/linux/nfsd/nfsd.h:140: warning: `inline' is not at beginning of declaration and these include/linux/nfsd/nfsd.h:137: warning: `static' is not at beginning of declaration include/linux/nfsd/nfsd.h:138: warning: `static' is not at beginning of declaration include/linux/nfsd/nfsd.h:139: warning: `static' is not at beginning of declaration include/linux/nfsd/nfsd.h:140: warning: `static' is not at beginning of declaration when building with gcc -W True, that's not how most people build, but some of us do in order to try and find potential trouble spots, and the less warnings we have to go through the better - especially when they can be cleaned up nice and safe with no real impact to the code like these ones. Please apply. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch removes two unused EXPORT_SYMBOL_GPL's. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
- arch/i386/mm/boot_ioremap.c: make a variable static - frv/ppc highmem.c: remove stale kmap_init prototypes - arch/um/kernel/mem.c: make kmap_init static - arch/i386/mm/init.c: make five functions static Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
There's no reason for keeping a write-only variable. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
num_units in struct TAG_TW_Device_Extension is completely unused. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
- make some needlessly global code static - #if 0 some global print* functions that have no user Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
- make some needlessly global code static - remove the unused dodgy_tsc function - remove the stale dodgy_tsc z86_64 prototype Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Adrian Bunk authored
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
A few tiny cleanups for arch/sparc/kernel/ptrace.c::do_ptrace post the big verify_area/access_ok cleanup. 'ret' shadows a variable of the same name in the enclosing scope, rename it. The assignment of -EFAULT to 'i' exactely mirrors what the old verify_area code did, but that was only to use 'i' to check the return value of verify_area. Now that we check access_ok directly and 'i' is initialized in the for loop a few lines below anyway, the asignment of -EFAULT to i is bogus, just pass pass EFAULT directly as the second arg to pt_error_return. Also a few tiny whitespace cleanups - 'if ()' vs 'if()'. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
Slight rework of arch/mips/kernel/irixsig.c::irix_sigsendset to eliminate the use of a local variable, a goto and shorten the code a bit. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
Tiny patch that cuts down the nr of assignments to 'ret'. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
Improve readability after verify_area to access_ok conversion. The new code was pretty ugly - this should be a bit better. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
The previous 9 patches should take care of converting all callers of verify_area into access_ok, so now it's time to deprecate verify_area all over so noone gets tempted to use it in new code - this patch does that. Eventually when this has been deprecated for a while I'll send patches to completely remove the function (thoughts on how long it should be deprecated first are welcome). Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-