- 26 Jul, 2004 38 commits
-
-
Alexander Viro authored
Usual foo ? void : non-void in reiserfs; gets triggered on big-endian platforms. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
asm-ppc/reg.h defines pollutes namespace like there's no tomorrow; among other things there are LR SR0...SR15 DEC etc. That breaks quite a few drivers that should otherwise work on ppc. SR... and LR were never used by ppc code; commented out in reg.h (note that they are just aliases for SPRN_SR... and SPRN_LR). RPA commented out and its instances in ppc code (all four of them) replaced with SPRN_RPA. Ditto for DEC. The rest of the offenders (DAR and PVR) are left alone for now and #undef'ed in drivers in question. We probably want to rip all these guys out of reg.h and convert ppc users to SPRN_... forms - file ends up included in alot of places and namespace pollution like that is a Bad Thing(tm). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Assorted pointer-to-int fixes: a) some places want to take pointer modulo alignment or extract integer that was cast to pointer (which is legitimate), but do that via wrong cast, triggering sparse warnings. b) usual %x (int)ptr -> %p ptr fixes Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Either it got missed back when if_mii() was introduced, or it got merged that way later. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
zoran procfs code switched to seq_file and cleaned up; a bunch of homegrown procfs glue eliminated. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
cciss compat ioctls were broken (mixing kernel and userland pointers); fixed (and cleaned up) by switch to compat_alloc_user_space() and elimination of set_fs(). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Usual set - explicit -D<arch>=1 for sparse, __sighandler_t / __sigrestore_t annotated, annotations in arch/ppc/kernel/*, etc. - same as for other platforms Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
CONFIG_MCOUNT on sparc64 is currently broken; we have both mcount and _mcount declared (and aliased to each other), but end up exporting the wrong one. As the result, with that option all modules get unresolved symbol. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
it could be split (all chunks are obviously independent), but I don't think that it's worth doing. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
blind dereferencing of userland pointer Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
0->NULL in arch/ppc and include/asm-ppc. [That's it for this series - there's still ~200Kb to merge, but I'd rather take a break for a couple of hours before dealing with the rest] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
annotated, a bunch of ioctls switched to compat_alloc_user_space() and cleaned up. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
trivial annotations and cleanups + proper use of vfs_...stat(). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
That definitely duplicates a bunch of stuff in pending patches from various folks, but since it's all trivial 0->NULL replacements and patches are still not submitted and/or merged... Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Assorted mtd fixes. a) NULL noise removal b) %p pointer instead of %x (int)pointer in printks c) missed iovec->kvec replacements (basically, fixing merge problems) d) fixed type for (unused) last argument in doc_{read,write}_ecc() e) sanitized some comparisons. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
drivers/char/ipmi/* annotated, structure shared between kernel and userland (ioctls) split in two. ACPI callback in the same code used to have wrong type - it should've been void (...), not u32 (...). Fixed. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
bpck6 was b0rken on ppc in rather amusing way - it used typedef struct ... PPC; which doesn't mix with having PPC (pre)defined to 1. Fixed by renaming private typedef in question. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
added missing #include Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
a) OSS is broken on sparc64 (as in "won't compile") b) sb16_csp is broken on ppc marked as such in Kconfig Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
a) ALSA variant of wavefront didn't compile on gcc 2.x with debugging turned on - authors heard something about variadic macros on gcc 2.x, but screwed it up. Fixed. b) au88x0 relied on char being signed in non-trivial ways. On ppc it's not true. Fixed by explicit use of s8 (which is what that code really wants). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
dmasound (core + ppc-specific parts) annotated Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
A couple of old ISA drivers had trivial to fix check_region() uses. Sanitized. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Very confused ioctl in tea575x - it is called via video_usercopy(), but assumes that it still has userland pointers. Fixed. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
blind dereferencing of userland pointers in procfs ->write() in rndis.c Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
blind dereferencing of userland pointer in appletalk SIOCADDRT handling. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
A lot of places assumed that size_t == unsigned; on 64bit boxen that is not true. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
Oleg Nesterov authored
filemap_populate and shmem_populate must install even a linear file_pte, in case there was a nonlinear page or file_pte already installed there: could only happen if already VM_NONLINEAR, but no need to check that. Acked by Ingo and Hugh. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 25 Jul, 2004 2 commits
-
-
Con Kolivas authored
Fixes the inline error when compiling net/ipv6/route.c with gcc-3.4.1 Signed-off-by: Con Kolivas <kernel@kolivas.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Patrick McHardy authored
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@redhat.com>
-