1. 17 Sep, 2011 1 commit
    • Chen Ganir's avatar
      Bluetooth: Fixed BT ST Channel reg order · 8be964d2
      Chen Ganir authored
      Reordered the BT ST channel registration, to make sure that the
      event channel is registered before all others. This prevents a
      situation where incoming events may cause kernel panic in the ST
      driver if the event channel is not yet registered to handle
      incoming events.In addition, the deregistration of the channels
      was also modified, to be in the reversed order of the registration,
      to allow the event channel to be the last one unregistered.
      Signed-off-by: default avatarChen Ganir <chen.ganir@ti.com>
      Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
      8be964d2
  2. 15 Sep, 2011 1 commit
  3. 11 Aug, 2011 23 commits
  4. 10 Aug, 2011 1 commit
    • Julia Lawall's avatar
      drivers/net/wireless/wl1251: add missing kfree · 059c4383
      Julia Lawall authored
      In each case, the kfree already at the end of the function is also needed
      in the error case.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @exists@
      local idexpression x;
      statement S,S1;
      expression E;
      identifier fl;
      expression *ptr != NULL;
      @@
      
      x = \(kmalloc\|kzalloc\|kcalloc\)(...);
      ...
      if (x == NULL) S
      <... when != x
           when != if (...) { <+...kfree(x)...+> }
           when any
           when != true x == NULL
      x->fl
      ...>
      (
      if (x == NULL) S1
      |
      if (...) { ... when != x
                     when forall
      (
       return \(0\|<+...x...+>\|ptr\);
      |
      * return ...;
      )
      }
      )
      // </smpl>
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      059c4383
  5. 09 Aug, 2011 8 commits
  6. 03 Aug, 2011 1 commit
  7. 02 Aug, 2011 4 commits
  8. 01 Aug, 2011 1 commit