• Randy Dunlap's avatar
    [PATCH] reduce stack in qlogicfc.c · 4955a5c8
    Randy Dunlap authored
    This is a start on reducing the stack usage in qlogicfc.c::
    isp2x00_make_portdb().  I think that the stack reduction portion
    of it is fine, but I'm concerned about the function returning
    early due to kmalloc() failure, without making the port database.
    
    [reduces stack from 0xc38 to 0x34 bytes (P4 UP, gcc 2.96)]
    
    Can anyone suggest way(s) to have the isp2x00_make_portdb() function
    called over and over again until it gets its job done?
    Or does anyone even still use this driver?
    4955a5c8
qlogicfc.c 65.3 KB