)]}'
{
  "commit": "705e9994a437bbdaf655612f3526e3567db56bdd",
  "tree": "257424518581688177bf4eaef74a572e742220ef",
  "parents": [
    "818f76831992198121c8949789c71a1adb02e329"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "Julia.Lawall@lip6.fr",
    "time": "Sat Oct 15 16:55:47 2016 +0200"
  },
  "committer": {
    "name": "Mark Brown",
    "email": "broonie@kernel.org",
    "time": "Mon Oct 24 18:33:17 2016 +0100"
  },
  "message": "ASoC: rockchip: constify snd_soc_ops structures\n\nCheck for snd_soc_ops structures that are only stored in the ops field of a\nsnd_soc_dai_link structure.  This field is declared const, so snd_soc_ops\nstructures that have this property can be declared as const also.\n\nThe semantic patch that makes this change is as follows:\n(http://coccinelle.lip6.fr/)\n\n// \u003csmpl\u003e\n@r disable optional_qualifier@\nidentifier i;\nposition p;\n@@\nstatic struct snd_soc_ops i@p \u003d { ... };\n\n@ok1@\nidentifier r.i;\nstruct snd_soc_dai_link e;\nposition p;\n@@\ne.ops \u003d \u0026i@p;\n\n@ok2@\nidentifier r.i, e;\nposition p;\n@@\nstruct snd_soc_dai_link e[] \u003d { ..., { .ops \u003d \u0026i@p, }, ..., };\n\n@bad@\nposition p !\u003d {r.p,ok1.p,ok2.p};\nidentifier r.i;\nstruct snd_soc_ops e;\n@@\ne@i@p\n\n@depends on !bad disable optional_qualifier@\nidentifier r.i;\n@@\nstatic\n+const\n struct snd_soc_ops i \u003d { ... };\n// \u003c/smpl\u003e\n\nThe effect on the layout of the .o files is shown by the following output\nof the size command, first before then after the transformation:\n\n   text    data     bss     dec     hex filename\n   5027    2488     416    7931    1efb sound/soc/rockchip/rk3399_gru_sound.o\n   5219    2312     416    7947    1f0b sound/soc/rockchip/rk3399_gru_sound.o\n\n   text    data     bss     dec     hex filename\n   3499    1648     384    5531    159b sound/soc/rockchip/rockchip_max98090.o\n   3563    1584     384    5531    159b sound/soc/rockchip/rockchip_max98090.o\n\n   text    data     bss     dec     hex filename\n   3455    1536     384    5375    14ff sound/soc/rockchip/rockchip_rt5645.o\n   3519    1480     384    5383    1507 sound/soc/rockchip/rockchip_rt5645.o\n\nSigned-off-by: Julia Lawall \u003cJulia.Lawall@lip6.fr\u003e\nSigned-off-by: Mark Brown \u003cbroonie@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0cbd23555ba4f752cf4cb2db07283e36e46db5ac",
      "old_mode": 33188,
      "old_path": "sound/soc/rockchip/rk3399_gru_sound.c",
      "new_id": "3475c61a5fa0bf76f989bd21bf43815b75aef627",
      "new_mode": 33188,
      "new_path": "sound/soc/rockchip/rk3399_gru_sound.c"
    },
    {
      "type": "modify",
      "old_id": "e70ffad07184fafa3584c2f7ee18a883baa386fb",
      "old_mode": 33188,
      "old_path": "sound/soc/rockchip/rockchip_max98090.c",
      "new_id": "789d6f1e2b5fcb97b444f0d7e4c737fa174ed312",
      "new_mode": 33188,
      "new_path": "sound/soc/rockchip/rockchip_max98090.c"
    },
    {
      "type": "modify",
      "old_id": "440a8026346a3ed4004ed744f9600049c1c82a12",
      "old_mode": 33188,
      "old_path": "sound/soc/rockchip/rockchip_rt5645.c",
      "new_id": "9e0c178058074e5102b73978c9c15082e2be9f72",
      "new_mode": 33188,
      "new_path": "sound/soc/rockchip/rockchip_rt5645.c"
    }
  ]
}
