)]}'
{
  "commit": "43abdbcecea0673fa7f2f04422b57765935b2d5b",
  "tree": "6da37eead6ff39d6ea8b45b30b7026d6678560f4",
  "parents": [
    "196a4f82bddb2c4cb23736c5d467abcb9e716c63"
  ],
  "author": {
    "name": "Quentin Lambert",
    "email": "lambert.quentin@gmail.com",
    "time": "Tue Jun 30 14:58:04 2015 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jun 30 19:44:57 2015 -0700"
  },
  "message": "memstick: remove deprecated use of pci api\n\nReplace occurences of the pci api by appropriate call to the dma api.\n\nA simplified version of the semantic patch that finds this problem is as\nfollows: (http://coccinelle.lip6.fr)\n\n@deprecated@\nidexpression id;\nposition p;\n@@\n\n(\n  pci_dma_supported@p ( id, ...)\n|\n  pci_alloc_consistent@p ( id, ...)\n)\n\n@bad1@\nidexpression id;\nposition deprecated.p;\n@@\n...when !\u003d \u0026id-\u003edev\n   when !\u003d pci_get_drvdata ( id )\n   when !\u003d pci_enable_device ( id )\n(\n  pci_dma_supported@p ( id, ...)\n|\n  pci_alloc_consistent@p ( id, ...)\n)\n\n@depends on !bad1@\nidexpression id;\nexpression direction;\nposition deprecated.p;\n@@\n\n(\n- pci_dma_supported@p ( id,\n+ dma_supported ( \u0026id-\u003edev,\n...\n+ , GFP_ATOMIC\n  )\n|\n- pci_alloc_consistent@p ( id,\n+ dma_alloc_coherent ( \u0026id-\u003edev,\n...\n+ , GFP_ATOMIC\n  )\n)\n\nSigned-off-by: Quentin Lambert \u003clambert.quentin@gmail.com\u003e\nCc: Maxim Levitsky \u003cmaximlevitsky@gmail.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aeabaa5aedf7d2cbf4a76fa15b2547349adc0dd5",
      "old_mode": 33188,
      "old_path": "drivers/memstick/host/jmb38x_ms.c",
      "new_id": "48db922075e2adbcec880950edf7a9700827218b",
      "new_mode": 33188,
      "new_path": "drivers/memstick/host/jmb38x_ms.c"
    },
    {
      "type": "modify",
      "old_id": "e2a4f5f415b2be30d0b223d7fac1e423dec411cf",
      "old_mode": 33188,
      "old_path": "drivers/memstick/host/r592.c",
      "new_id": "ef09ba0289d723698b3ce7bfc06ff7cefd59cc96",
      "new_mode": 33188,
      "new_path": "drivers/memstick/host/r592.c"
    }
  ]
}
