1. 02 9月, 2005 2 次提交
  2. 28 7月, 2005 1 次提交
  3. 09 7月, 2005 1 次提交
  4. 27 6月, 2005 2 次提交
    • D
      [PATCH] wireless: char* -> char[] conversion in airo.c · 62595eb9
      Domen Puncer 提交于
      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: NDomen Puncer <domen@coderock.org>
      62595eb9
    • P
      [PATCH] fix int vs. pm_message_t confusion in airo · 1cc68ae0
      Pavel Machek 提交于
      Fix int vs. pm_message_t confusion in airo. Should change no code.
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      1cc68ae0
  5. 26 6月, 2005 1 次提交
    • C
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter 提交于
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
  6. 16 5月, 2005 1 次提交
    • D
      [PATCH] wireless/airo: WEXT and quality corrections · 41480af2
      Dan Williams 提交于
      This patch brings the airo driver into line with the current
      WEXT specification of signal quality.  It also fixes the values
      used to determine signal quality and level for MPI & PCMCIA 350
      cards.  It turns out that BSSListRid.rssi was actually in dBm
      for 350 series cards, and that we can use the normalized
      signal strength reported by the card as our "quality" value, on
      a scale of 0 - 100.  Since signal level values are in dBm for
      this driver, max_qual->level MUST be 0, as specified in the WEXT
      spec.  This patch also uses the IW_QUAL constants new in WEXT
      version 17.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      41480af2
  7. 17 4月, 2005 2 次提交