- 29 Jul, 2004 1 commit
-
-
Andrew Morton authored
From: Andi Kleen <ak@muc.de> Trivial gcc-3.5 build fixes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 28 Jul, 2004 14 commits
-
-
James Bottomley authored
-
Nishanth Aravamudan authored
Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Matt Domsch authored
On Thu, Jul 22, 2004 at 01:28:23PM +0100, Matthew Wilcox wrote: > > +#define SYM_VERSION "2.1.18j" > > +#define SYM_DRIVER_NAME "sym-" SYM_VERSION > > Umm. No. This is ridiculous. I'm not having a 51 line copyright message > with 2 lines of #define. It's not even clear to me that these two lines > have artisitic merit. How about putting these defines in sym_defs.h, > at the top? It's already included in both sym_glue.c and sym_hipd.c by > being included by sym_glue.h. Indeed, point well taken. Done, they're now at the top of defines in sym_defs.h, and I've updated my BK tree accordingly. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Matt Domsch authored
Set MODULE_VERSION for drivers/scsi for Adaptec SCSI, megaraid qla1280, qla2x00 Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Dave Boutcher authored
Based on comments from hch and jejb, an update to the ibmvscsi driver patch. Primarily style issues, though the removal of gratuitous casting lead to some significant refactoring of functions. - Moved #include <asm/...> after #include <linux/...> - removed the map_direct_data and map_indirect_data and moved the function inline - Fixed function declaration style issues (static on a line by itself) - Removed bogus cast from dma_map_single - Moved setting of data transfer direction to a single helper function - Fixed up some gratuitous casting of types - Collapsed a couple of other functions inline - Removed bogus check for NULL from remove - Removed the "evt_struct_for" routine as being needlessly obfuscatory Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
Original Patch From: Adrian Bunk <bunk@fs.tum.de> I looked at those 3 functions. dc390_EnableMsgOut_Abort is called 5 times in the code and is 0x30 bytes long (as compiled with 3.3.2), so, uninlining it, probably, makes most sense. The other 2 functions are called only ones each and from the interrupt, so, I applied the "alternative approach" to them - moved above the calling functions. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
add new maintainer Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
Trying to compile drivers/scsi/nsp32.c in 2.6.8-rc1-mm1 using gcc 3.4 results in compile errors starting with the following: <-- snip --> ... CC drivers/scsi/nsp32.o drivers/scsi/nsp32.c: In function `nsp32_prom_start': drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3348: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3349: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3350: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3351: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3353: sorry, unimplemented: called from here make[2]: *** [drivers/scsi/nsp32.o] Error 1 <-- snip --> The patch below removes the inlines from nsp32_prom_{get,set}. An alternative approach would be to move the functions above the place where they are called the first time. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
Trying to compile drivers/scsi/dc395x.c in 2.6.8-rc1-mm1 using gcc 3.4 results in compile errors starting with the following: <-- snip --> ... CC drivers/scsi/dc395x.o drivers/scsi/dc395x.c: In function `dc395x_handle_interrupt': drivers/scsi/dc395x.c:388: sorry, unimplemented: inlining failed in call to 'enable_msgout_abort': function body not available drivers/scsi/dc395x.c:1740: sorry, unimplemented: called from here make[2]: *** [drivers/scsi/dc395x.o] Error 1 <-- snip --> The patch below moves enable_msgout_abort above the place where it is called the first time and removes the bogus inline from the prototype of set_xfer_rate (the function itself isn't marked as inline). An alternative approach would be to remove the inline from enable_msgout_abort. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
[patch] kill local sg_ms_to_jif/sg_jif_to_ms functions and use msecs_to_jiffies/jiffies_to_msecs instead Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Update version number to 8.00.00b15-k. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Correct usage of tag-command-queueing methods: o Properly call scsi_activate_tcq() rather than scsi_adjust_queue_depth(). o Properly retrieve tag message from command via scsi_populate_tag_msg(). Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Fix issue where firmware options were not properly being set before firmware initialization. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Fix issue where host-reset would incorrectly return a FAILED status. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 26 Jul, 2004 25 commits
-
-
Alexander Viro authored
Wrong ifdef around ppc nvram_read_byte() - it should be CONFIG_GENERIC_NVRAM. [that's it for today; there's more (fb stuff), but I'd rather make that a separate series] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
compile fixes in open_pic.c - it missed cpumask conversion in several places. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
usual "shift definition of inlines before their uses" in a couple of places in drivers/* Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
a couple of "replace char with explicit s8 to make sure it's really signed" fixes. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
a) ppc KGDB builds only on two subarch; say so in Kconfig b) ide-pmac.c can't be a module; make it dependent on IDE=y. c) a bunch of isdn drivers is broken on ppc; marked as such d) oaknet is broken; marked as such (includes on files that do not exist, etc.) e) buslogic and cyber2000 are broken on sparc64 f) s3trio framebuffer is broken g) usual 8250-based serial is broken on sparc64; in principle it might be worth supporting (there are PCI cards of that sort), for now marked as broken (no asm/serial.h, to start with). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
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>
-