- 03 Feb, 2005 4 commits
-
-
Jens Axboe authored
I accidentally introduced a leak in there, because the end_io function doesn't do a bio_put() like most others. Fortunately it's not critical, as it only happens on the md super block read. So just drop the initial bio_get(), since it's sync we can just bio_put() safely at the end after it has completed. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Gerd Knorr authored
Markus Trippelsdorf reported a non-working bt848 card with the recent DVB update. It's an initialization order bug which changes the default state of the tda9887 output ports. Verified to fix the problem by Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Oskar Senft authored
isdnhdlc_decode is called multiple times for bigger frames, so decrementing dsize is a bad idea and can cause a overflow of the dst buffer. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
http://lia64.bkbits.net/linux-ia64-release-2.6.11Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 02 Feb, 2005 36 commits
-
-
Linus Torvalds authored
-
Armin Schindler authored
Remove code from platform independent code, which is not used in Linux. Signed-off-by: Armin Schindler <armin@melware.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Armin Schindler authored
Removed check for NULL pointer before doing vfree(), it's done in vfree(). Signed-off-by: Armin Schindler <armin@melware.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Armin Schindler authored
This patch adds asm/uaccess.h to files which uses copy_to/from_user() and adds the use of the drivers internal API call to copy_to/from_user() in platform independent code. Signed-off-by: Armin Schindler <armin@melware.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Georgi Guninski authored
reiserfs_file_write() casts its (size_t) count parameter to int, which can become a problem on 64-bit architectures This attempts to fix this by changing the variables dealing with count and offset and the "min_t" comparisons to use "size_t" through-out. Acked-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Georgi Guninski authored
Acked-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Georgi Guninski authored
Fix signedness and remove the now unnecessary cast. Acked-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Tom 'spot' Callaway authored
This adds BTFIXUPs needed for sparc32. Signed-off-by: Tom 'spot' Callaway <tcallawa@redhat.com> Acked-by: William Irwin <wli@holomorphy.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Tony Luck authored
Patch submitted by H.J. Lu New ia64 assembler complains if the END(tag) doesn't match the ENTRY(tag). Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Peter Hagervall authored
This replaces a K&R-style function definition with its ANSI counterpart.
-
Stephen Rothwell authored
This fixes a bug where attempting to remove the viocd module when no virtual cdroms where actually present would cause an oops. The driver was not completing its initialisation in this case. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://drm.bkbits.net/drm-linusLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://drm.bkbits.net/drm-linusDave Airlie authored
into starflyer.(none):/foo/airlied/bitkeeper/drm-latest
-
Dave Airlie authored
into starflyer.(none):/foo/airlied/bitkeeper/drm-latest
-
Dave Airlie authored
The flush_tlb_kernel_range call in drm_memory.h was removed in 2003, so there's no more reason for this #include. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
unify the initializer. Signed-off-by: Dave Airlie <airlied@linux.ie>
-
bk://kernel.bkbits.net/vojtech/for-linusLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Vojtech Pavlik authored
into kernel.bkbits.net:/home/vojtech/for-linus
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
value contains the page code in high 16 bits. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
-
Vojtech Pavlik authored
into silver.ucw.cz:/home/vojtech/bk/input
-
Vojtech Pavlik authored
into kernel.bkbits.net:/home/vojtech/for-linus
-
Vojtech Pavlik authored
into kernel.bkbits.net:/home/vojtech/for-linus
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
same story as for amd64 - ptr_to_compat() + normal __user annotations Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
* new helper - ptr_to_compat(); inverse to compat_ptr(), with proper typechecking. A lot of open-coded equivalents replaced with using that one. * a couple of severely misguiding places got back to sanity - we had basically put_user((long)p, &foo->compat_uptr_t_field); That will, of course, cast (long)p further - to u32, but that fact is carefully obfuscated... Sanitized by replacing (long)p in such places with ptr_to_compat(p); fortunately, there hadn't been many of those... Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
OK, #/* <multiline comment block> */ is legitimate C, but WTF had these guys been smoking? Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
* jedec - switched to C99 initializers * sun_uflash - removed bogus cast to void * in argument of iounmap() + NULL noise removal. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
missing UL in several places (and no, none of these constants is ever seen by as(1)) Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
trivial iomem annotations + missing void in several declarations Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
on some ppc subarchitectures flush_tlb_page() et.al. are inlines implemented via _tlbie(), so it should share the status... Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
the usual - __iomem in definition of __mm() on several platforms that haven't got it by now, s/long/unsigned long/ for __gu_val in get_user(), __force on places where we pass pointers to low-level __user-agnostic primitive (__copy_tofrom_user() and its ilk). Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-