- 09 Aug, 2004 10 commits
-
-
Stephen Hemminger authored
If you rmmod a network device that is in a vlan, the system hangs waiting for the refcount to go to zero, because it is -1. The problem is that the vlan notifier does an extra dev_put in NETDEV_UNREGISTER case of notifier. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Alan Cox authored
This part got missed in the earlier merge, not sure where it escaped.
-
http://lia64.bkbits.net/to-base-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Yanmin Zhang authored
Disable pre-emption around access to pgtable_cache_size, pgd_quicklist, and pmd_quicklist. Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com> Signed-off-by: Zou Nanhai <nanhai.zou@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Jens Axboe authored
Include compiler.h from sg.h as it uses the __user notation, and change the types in scsi.h to use user exportable types. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
Exports blk_queue_resize_tags since it is an exported interface. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
The block layer SG should have the identical behaviour as SCSI sg when it comes to SG_SET_RESERVED_SIZE - allow caller to specify a large amount, truncate to largest we support, and return that with SG_GET_RESERVED_SIZE. Currently we fail with -EINVAL if the value is too large, I think the SCSI sg behaviour is more sane to use. This one-liner fixes it up, please apply for 2.6.8. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 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 21 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>
-