)]}'
{
  "commit": "f7c2136c5a0009bfddd1a462eebc2a2c29bddf8f",
  "tree": "84a87149870e9768ee56661c5d08c953a99d6a78",
  "parents": [
    "9ce799f5a81541bbc7472b53696bc2a4390c83eb"
  ],
  "author": {
    "name": "Barret Rhoden",
    "email": "brho@cs.berkeley.edu",
    "time": "Fri Aug 30 15:36:10 2019 -0400"
  },
  "committer": {
    "name": "Barret Rhoden",
    "email": "brho@cs.berkeley.edu",
    "time": "Tue Oct 08 17:11:10 2019 -0400"
  },
  "message": "spatch: add a few features to the Linux coccis\n\nNotably, the lock transform was mismatched.  We\u0027d set all locks to be\nirqsave (by the init function), but the _bh locks were not irqsave.\n\nThe issue here is that _bh locks *don\u0027t* need to be irqsave, but we\ndon\u0027t know when we look at spinlock_init where the lock is grabbed.  At\nleast not easily.  So since we say all locks are irqsave, we need to be\nconsistent.\n\nAnother option would be to keep them as spin_lock_bh and #define it, so\nwe keep the info that it is a bh lock.  Or if we really care about a\nslightly lower lock in a Linux driver, we just look at the changelog.\n\nSigned-off-by: Barret Rhoden \u003cbrho@cs.berkeley.edu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01802f6c092016ab1f927c6dce801ccca8064930",
      "old_mode": 33188,
      "old_path": "scripts/spatch/linux/funcs.cocci",
      "new_id": "69e0d80be294a8cb76cbd7243a60c202caa9e996",
      "new_mode": 33188,
      "new_path": "scripts/spatch/linux/funcs.cocci"
    },
    {
      "type": "modify",
      "old_id": "19d573e2875811d5ed51c5d20b84003e5cc26c85",
      "old_mode": 33188,
      "old_path": "scripts/spatch/linux/memory.cocci",
      "new_id": "591b6276db097154605b2028ca27349034dfa1d0",
      "new_mode": 33188,
      "new_path": "scripts/spatch/linux/memory.cocci"
    },
    {
      "type": "modify",
      "old_id": "7df8941a6bcf8534a2c2daa425f10274e716f01e",
      "old_mode": 33188,
      "old_path": "scripts/spatch/linux/scalar.cocci",
      "new_id": "9a7486ab571fd7c773cc9e5f5bce81689ca1ea43",
      "new_mode": 33188,
      "new_path": "scripts/spatch/linux/scalar.cocci"
    }
  ]
}
