- 10 Aug, 2004 2 commits
-
-
David Woodhouse authored
-
David Woodhouse authored
Define callback wrapper function mtd_erase_callback() to handle partition offsets during the callback, rather than attempting to fix them up in the freed erase_info structure after the callback has already happened.
-
- 08 Aug, 2004 9 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
drivers/char/watchdog/wdt977.c:291:9: warning: incorrect type in initializer (different address spaces) drivers/char/watchdog/wdt977.c:291:9: expected char const [noderef] *register __p<asn:1> drivers/char/watchdog/wdt977.c:291:9: got char const *buf ...
-
Russell King authored
-
Russell King authored
drivers/char/nwbutton.c:177:24: warning: incorrect type in argument 1 (different address spaces)/home/rmk/bk/linux-2.6-rmk/drivers/char/nwbutton.c:177:24: expected void [noderef] *to<asn:1> drivers/char/nwbutton.c:177:24: got char *buffer drivers/char/nwbutton.c:177:24: warning: incorrect type in initializer (different address spaces) drivers/char/nwbutton.c:177:24: expected void [noderef] *to<asn:1> drivers/char/nwbutton.c:177:24: got char *buffer drivers/char/nwbutton.c:189:11: warning: incorrect type in initializer (incompatible argument 2 (different address spaces)) drivers/char/nwbutton.c:189:11: expected int [usertype] ( *read )( ... ) drivers/char/nwbutton.c:189:11: got int ( static [addressable] [toplevel] *<noident> )( ... )
-
Russell King authored
drivers/char/ds1620.c:230:19: warning: incorrect type in argument 1 (different address spaces) drivers/char/ds1620.c:230:19: expected void [noderef] *to<asn:1> drivers/char/ds1620.c:230:19: got char *buf drivers/char/ds1620.c:230:19: warning: incorrect type in initializer (different address spaces) drivers/char/ds1620.c:230:19: expected void [noderef] *to<asn:1> drivers/char/ds1620.c:230:19: got char *buf ... drivers/char/ds1620.c:383:52: warning: Using plain integer as NULL pointer
-
Russell King authored
arch/arm/kernel/io.c:15:5: warning: generating address of non-lvalue arch/arm/kernel/io.c:15:5: warning: loading unknown expression arch/arm/kernel/io.c:29:5: warning: generating address of non-lvalue arch/arm/kernel/io.c:29:5: warning: loading unknown expression
-
Russell King authored
This fixes sparse warnings in fpa11_cpdt (coprocessor data transfer) instruction emulation. Note that pointers need to be cast to unsigned long not unsigned int, so convert user registers to be unsigned long type.
-
Linus Torvalds authored
-
Linus Torvalds authored
This cleans up and simplifies drivers, and also allows us future simplification in the VFS layer, since it removes knowledge about internal VFS layer handling of "f_pos".
-
- 07 Aug, 2004 29 commits
-
-
Linus Torvalds authored
Nobody ever fixed the big FIXME in sysctl - but we really need to pass around the proper "loff_t *" to all the sysctl functions if we want them to be well-behaved wrt the file pointer position. This is all preparation for making direct f_pos accesses go away.
-
Alexander Viro authored
- conversion to seq_file, overflow fixes - qos_parse sanitized (3 sscanf calls instead of insane manual parsing) leaks plugged code cleaned up We still have serious races, but they are general problem in atm code - it has no locking whatsoever for any of the lists (mpcs, qos_head, per-client lists).
-
Alexander Viro authored
Adds support for 'hh' (store number in char *) and 'll' (proper C99 for long long) modifiers to sscanf().
-
Linus Torvalds authored
-
Linus Torvalds authored
no need for the mtrr code to check any more.
-
Linus Torvalds authored
remove the run-time tests for it.
-
Linus Torvalds authored
You can seek the tape, but you do it with the magic tape control ioctl's, not with lseek/pread/pwrite.
-
Linus Torvalds authored
unnecessary tests at read/write time.
-
Linus Torvalds authored
Remove the test from the socket code, now that it's no longer necessary.
-
Linus Torvalds authored
file descriptors.
-
Linus Torvalds authored
This also removes the ESPIPE logic from pipes and seq_files, since the VFS layer now supports it.
-
Matt Porter authored
Adds a cleaned up version of the PPC4xx DMA engine library. Converted to new DCR access method and DMA API. Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matt Porter authored
Remove pci-dma.c. It is cruft left over from the DMA API changes. Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Geoffrey LEVAND authored
This patch corrects the Ebony board's uart clock value to the rate of the external Epson SG-615P clock source. Now good to 115Kbps. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> for CELF Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matt Porter authored
Remove some old cruft in the kernel lowmem mapping code and save some memory in the process. Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Dave Hansen authored
When normal IRQ balancing is used, the following warnings appear: arch/ppc64/kernel/xics.c: In function `get_irq_server': arch/ppc64/kernel/xics.c:242: warning: unused variable `cpumask' arch/ppc64/kernel/xics.c:243: warning: unused variable `tmp' Simply move the variables inside the #ifdef Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Dave Hansen authored
This somehow ended up out in the global Kconfig menu. Move it back inside debugging where it belongs. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Some new sysfs macros declare a store_purr() function that never gets used, which makes a compiler warning happen. Suppress the warning with the used attribute. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Due to a mismerge, some code in chrp_progress appears twice. While here, clean up some formatting issues. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
We need to set the thread priority to medium when entering all exceptions. We may have been executing in low priority (eg the idle loop), but definitely do not want to remain in that priority for the duration of the exception (eg a device interrupt). Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Due to speculative execution, a CPU may execute some instructions after the rfid. This makes profiles confusing, since profiling ticks could end up in those instructions following the rfid that are never executed. Add a branch to self after each rfid to avoid this. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Print the correct domain when a PCI resource allocation fails. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
- Remove unused includes. - Be consistent about printing irq numbers, avoid a mix of decimal and hexadecimal. - Remove prototypes from xics.c, they should be in xics.h. - Remove infinite loop on failure, and instead use panic. Panic has a chance to log the error message on the LED panel and reboot the box, a while(1) loop does not. - xics isnt compiled for iseries any more, so no need for the CONFIG_PPC_PSERIES hack. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
John Engel authored
Here's a fix for the 32-bit PTRACE_GETEVENTMSG ptrace call that handles the passing of a 32-bit user address. Please apply, thanks. Signed-off-by: John Engel <jhe@us.ibm.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch just cleans up arch/ppc64/kernel/pci_dn.c a bit, including: - remove it from the iSeries build completely - small changes to Makefile - remove the "post" parameter from traverse_pci_devices as noone used it - make traverse_all_pci_devices static - remove CONFIG_PPC_PSERIES tests as we no longer build for iSeries - some reformatting (closer to "standard") - remove some of pointer casts This has been built (with default config) on pSeries and pmac and built and run on iSeries. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrey Panin authored
Fix ppc64 free_irq. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Thomas Spatzier authored
qeth network driver performance improvements. The ping time on the HiperSockets interface drops from 250 usecs to 50 usecs and the 1 bytes request/response test improves from 70000 to 110000 transactions. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Martin Schwidefsky authored
From: Heiko Carstens <heiko.carstens@de.ibm.com> From: Andreas Herrmann <aherrman@de.ibm.com> zfcp host adapater change: - Fix call to close_physical_port to prevent devices going offline after error recovery. - Fix return value of sysfs port_remove attribute store function. - Replace reboot notifier with device driver shutdown function. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Peter Tiedemann authored
Prefix debug feature variables with ctc to avoid name space problems. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-