)]}'
{
  "commit": "ad1a8102f957f4d25fc58cdc10736c5ade7557e1",
  "tree": "a9bb1ee6b26a2171e43edc77dc51fdb839135d90",
  "parents": [
    "fc19de61ef5c17b6e19766052c6ac85cf31de876"
  ],
  "author": {
    "name": "Michal Nazarewicz",
    "email": "m.nazarewicz@samsung.com",
    "time": "Thu Aug 12 17:43:46 2010 +0200"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Fri Oct 22 10:21:23 2010 -0700"
  },
  "message": "USB: gadget: composite: Better string override handling\n\nThe iManufatcurer, iProduct and iSerialNumber composite module\nparameters were only used when the gadget driver registers\nstrings for manufacturer, product and serial number.  If the\ngadget never bothered to set corresponding fields in USB device\ndescriptors those module parameters are ignored.\n\nThis commit makes the parameters work even if the strings ID\nhave not been assigned.  It also changes the way IDs are\noverridden -- what IDs are overridden is now saved in\nusb_composite_dev structure -- which makes it unnecessary to\nmodify the string tables the way previous code did.\n\nThe commit also adds a iProduct and iManufatcurer fields to the\nusb_composite_device structure.  If they are set, appropriate\nstrings are reserved and added to device descriptor.  This makes\nit unnecessary for gadget drivers to maintain code for setting\nthose.  If iProduct is not set it defaults to\nusb_composite_device::name; if iManufatcurer is not set\na default \"\u003csystem\u003e \u003crelease\u003e with \u003cgadget-name\u003e\" is used.\n\nThe last thing is that if needs_serial field of\nusb_composite_device is set and user failed to provided\niSerialNumber parameter a warning is issued.\n\nSigned-off-by: Michal Nazarewicz \u003cm.nazarewicz@samsung.com\u003e\nSigned-off-by: Kyungmin Park \u003ckyungmin.park@samsung.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eaa9a599df63707d94c82f80941cfc8d4c908f44",
      "old_mode": 33188,
      "old_path": "drivers/usb/gadget/composite.c",
      "new_id": "717de39627c782e23eef1fd203d2fafada8dc7ab",
      "new_mode": 33188,
      "new_path": "drivers/usb/gadget/composite.c"
    },
    {
      "type": "modify",
      "old_id": "617068134ae8a91cadc1f7ccf42761cf212b5adf",
      "old_mode": 33188,
      "old_path": "include/linux/usb/composite.h",
      "new_id": "a78e813d27e424e0feff9ef8d0156692200f02de",
      "new_mode": 33188,
      "new_path": "include/linux/usb/composite.h"
    }
  ]
}
