)]}'
{
  "commit": "18f509780a3eb76ffe31b4bfc24016c408dec537",
  "tree": "a302ee3839d61da639b806e99b7aa7c9ec2fb43a",
  "parents": [
    "03a9c3c1bbfd1548888ff6386c30165efc4c7c00"
  ],
  "author": {
    "name": "David Riley",
    "email": "davidriley@chromium.org",
    "time": "Tue Aug 05 22:16:01 2014 +0000"
  },
  "committer": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Tue Aug 05 22:16:01 2014 +0000"
  },
  "message": "linux_spi: properly convert pointers to kernel\u0027s u64\n\nFor arm64 with 32-bit userspace, pointers such as 0xff96ebf8 were\nincorrectly getting converted to u64_t 0xffffffffff96ebf8 in the\nspi_ioc_transfer struct which was causing ioctl()s to be rejected by\nthe kernel. With this patch we first cast to uintptr_t (to avoid\nwarnings on architectures where char * are not 64b wide) and then to\nuint64_t which is always big enough and does not produce warnings.\n\nThis patch is taken from ChromiumOS\u0027\nChange-Id: I5a15b4ca5d9657c3cb1ddccd42eafd91c852dd26\n\nCorresponding to flashrom svn r1836.\n\nSigned-off-by: David Riley \u003cdavidriley@chromium.org\u003e\nReviewed-by: David Hendricks \u003cdhendrix@chromium.org\u003e\nAcked-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2315c2abdcaca4729f7a3e4a35bc14501de8bd71",
      "old_mode": 33188,
      "old_path": "linux_spi.c",
      "new_id": "26725e1d64812b32bf42d0a94633730b275620f0",
      "new_mode": 33188,
      "new_path": "linux_spi.c"
    }
  ]
}
