1. 30 7月, 2017 1 次提交
  2. 03 6月, 2017 1 次提交
  3. 18 5月, 2017 1 次提交
  4. 09 4月, 2017 1 次提交
  5. 17 3月, 2017 1 次提交
  6. 14 3月, 2017 1 次提交
  7. 25 1月, 2017 1 次提交
  8. 27 10月, 2016 1 次提交
  9. 27 9月, 2016 3 次提交
  10. 22 9月, 2016 3 次提交
  11. 02 9月, 2016 1 次提交
    • J
      tty: xuartps: constify uart_ops structures · f098a0ae
      Julia Lawall 提交于
      Check for uart_ops structures that are only stored in the ops field of a
      uart_port structure.  This field is declared const, so uart_ops structures
      that have this property can be declared as const also.
      
      The semantic patch that makes this change is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r disable optional_qualifier@
      identifier i;
      position p;
      @@
      static struct uart_ops i@p = { ... };
      
      @ok@
      identifier r.i;
      struct uart_port e;
      position p;
      @@
      e.ops = &i@p;
      
      @bad@
      position p != {r.p,ok.p};
      identifier r.i;
      struct uart_ops e;
      @@
      e@i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      static
      +const
       struct uart_ops i = { ... };
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f098a0ae
  12. 26 6月, 2016 1 次提交
  13. 08 3月, 2016 1 次提交
  14. 07 2月, 2016 14 次提交
  15. 11 5月, 2015 1 次提交
  16. 28 4月, 2015 1 次提交
  17. 27 3月, 2015 6 次提交
  18. 07 3月, 2015 1 次提交