1. 19 4月, 2019 1 次提交
  2. 18 6月, 2018 1 次提交
  3. 17 10月, 2017 1 次提交
  4. 12 4月, 2017 1 次提交
    • B
      ALSA: line6: constify snd_kcontrol_new structures · 49c41e1f
      Bhumika Goyal 提交于
      Declare snd_kcontrol_new strcutures as const as they are only passed as
      an argument to the function snd_ctl_new1. This argument is of type const,
      so snd_kcontrol_new structures having this property can be made const too.
      Done using Coccinelle:
      
      @r disable optional_qualifier@
      identifier x;
      position p;
      @@
      static struct snd_kcontrol_new x@p={...};
      
      @ok@
      identifier r.x;
      position p;
      @@
      snd_ctl_new1(&x@p,...)
      
      @bad@
      position p != {r.p,ok.p};
      identifier r.x;
      @@
      x@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.x;
      @@
      +const
      struct snd_kcontrol_new x;
      Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      49c41e1f
  5. 20 9月, 2016 2 次提交
  6. 11 2月, 2015 2 次提交
  7. 08 2月, 2015 3 次提交
  8. 29 1月, 2015 3 次提交
  9. 28 1月, 2015 8 次提交
  10. 20 1月, 2015 6 次提交
  11. 19 1月, 2015 1 次提交
  12. 13 1月, 2015 6 次提交
  13. 16 5月, 2014 1 次提交
  14. 17 4月, 2014 1 次提交
  15. 28 10月, 2013 2 次提交
  16. 17 9月, 2013 1 次提交