)]}'
{
  "commit": "e6ffb3fdc4bc42479b00af2d754f9264f6f28fab",
  "tree": "82bc170ff426cd6be68fac654d3919994747e77a",
  "parents": [
    "871d132577729b69bf296f9f04735597a6a2f6bd"
  ],
  "author": {
    "name": "Erwin Rol",
    "email": "erwin@erwinrol.com",
    "time": "Sun Sep 15 20:33:14 2019 +0200"
  },
  "committer": {
    "name": "Maureen Helm",
    "email": "maureen.helm@nxp.com",
    "time": "Mon Sep 16 14:34:24 2019 -0500"
  },
  "message": "spinlock: Make sure C and C++ have the same sizeof(k_spinlock) value\n\nIf CONFIG_SMP and SPIN_VALIDATE are both not defined the k_spinlock\nstruct will have no members. The result is that in C the sizeof\nvalue of struct k_spinlock is 0 and in C++ it is 1.\n\nThis size difference causes problems when the k_spinlock\nis embedded into another struct like k_msgq, because C and\nC++ will have different ideas on the offsets of the members\nthat come after the k_spinlock member.\n\nTo prevent this we add a 1 byte dummy member to k_spinlock\nwhen the user selects C++ support and k_spinlock would\notherwise be empty.\n\nSigned-off-by: Erwin Rol \u003cerwin@erwinrol.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "831fb7a69f118b2a503ee71a8d8d235984a82932",
      "old_mode": 33188,
      "old_path": "include/spinlock.h",
      "new_id": "b3ff656d03f17a3668670cbc0df94ee23da78529",
      "new_mode": 33188,
      "new_path": "include/spinlock.h"
    }
  ]
}
