1. 27 Jun, 2005 4 commits
    • Nishanth Aravamudan's avatar
      [PATCH] net/sb1000: replace nicedelay() with ssleep() · a26c074c
      Nishanth Aravamudan authored
      Use ssleep() instead of nicedelay()
      to guarantee the task delays as expected. Remove the prototype and
      definition of nicedelay(). This is a very weird function, because it is
      called to sleep in terms of usecs, but always sleeps for 1 second,
      completely ignoring the parameter. I have gone ahead and followed suit,
      just sleeping for a second in all cases, but maybe someone with the
      hardware could tell me if perhaps the paramter *should* matter. Additionally,
      nicedelay() is called in TASK_INTERRUPTIBLE state, but doesn't deal with signals
      in case these longer delays do not complete, so I believe ssleep() is more
      appropriate.
      Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
      Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
      a26c074c
    • Domen Puncer's avatar
      [PATCH] wireless: char* -> char[] conversion in airo.c · 62595eb9
      Domen Puncer authored
      This conversion makes code from line 7101 right:
      	if (copy_to_user(com.data, swversion, sizeof(swversion)))
      
      size output (before, after):
        55416    2228     160   57804    e1cc drivers/net/wireless/airo.o
        55412    2228     160   57800    e1c8 drivers/net/wireless/airo.o
      
      more outputs from Alexey Dobriyan:
      2.95.3:
                 text    data     bss     dec     hex filename
      before    51118    2156     160   53434    d0ba drivers/net/wireless/airo.o
      after     51118    2156     160   53434    d0ba drivers/net/wireless/airo.o
      
      3.3.5-20050130:
      before    46999    2156     160   49315    c0a3 drivers/net/wireless/airo.o
      after     46994    2156     160   49310    c09e drivers/net/wireless/airo.o
      
      4.1.0-20050522:
      before    45555    2220     160   47935    bb3f drivers/net/wireless/airo.o
      after     45550    2220     160   47930    bb3a drivers/net/wireless/airo.o
      Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
      62595eb9
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      41b6c373
  2. 26 Jun, 2005 36 commits