1. 14 1月, 2016 1 次提交
  2. 19 12月, 2015 1 次提交
  3. 02 11月, 2015 1 次提交
  4. 23 10月, 2015 2 次提交
  5. 15 10月, 2015 1 次提交
  6. 14 10月, 2015 1 次提交
  7. 14 8月, 2015 1 次提交
  8. 03 8月, 2015 1 次提交
  9. 16 6月, 2015 8 次提交
  10. 12 6月, 2015 5 次提交
  11. 05 5月, 2015 1 次提交
  12. 24 4月, 2015 8 次提交
  13. 25 3月, 2015 1 次提交
  14. 03 3月, 2015 1 次提交
    • Q
      iommu/vt-d: Convert non-returned local variable to boolean when relevant · 2f119c78
      Quentin Lambert 提交于
      This patch was produced using Coccinelle. A simplified version of the
      semantic patch is:
      
      @r exists@
      identifier f;
      local idexpression u8 x;
      identifier xname;
      @@
      
      f(...) {
      ...when any
      (
        x@xname = 1;
      |
        x@xname = 0;
      )
      ...when any
      }
      
      @bad exists@
      identifier r.f;
      local idexpression u8 r.x
      expression e1 != {0, 1}, e2;
      @@
      
      f(...) {
      ...when any
      (
        x = e1;
      |
        x + e2
      )
      ...when any
      }
      
      @depends on !bad@
      identifier r.f;
      local idexpression u8 r.x;
      identifier r.xname;
      @@
      
      f(...) {
      ...
      ++ bool xname;
      - int xname;
      <...
      (
        x =
      - 1
      + true
      |
        x =
      - -1
      + false
      )
      ...>
      
      }
      Signed-off-by: NQuentin Lambert <lambert.quentin@gmail.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      2f119c78
  15. 15 1月, 2015 7 次提交