)]}'
{
  "commit": "03e259a9cdbd0583e71468293aaa1ccadbdaeff1",
  "tree": "ee41f6bcfbeeeb6f3cd269622d499ee9eb6df233",
  "parents": [
    "dbd4f12859307c20a4c65a7de4cdd5f9f518dc7a"
  ],
  "author": {
    "name": "Michal Januszewski",
    "email": "spock@gentoo.org",
    "time": "Wed Jul 27 11:46:08 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Wed Jul 27 16:26:19 2005 -0700"
  },
  "message": "[PATCH] fbdev: update info-\u003ecmap when setting cmap from user-/kernelspace.\n\nThe fb_info struct, as defined in include/linux/fb.h, contains an element\nthat is supposed to hold the current color map:\n  struct fb_cmap cmap;            /* Current cmap */\n\nThis cmap is currently never updated when either fb_set_cmap() or\nfb_set_user_cmap() are called.  As a result, info-\u003ecmap contains the\ndefault cmap that was set by a device driver/fbcon and a userspace\napplication using the FBIOGETCMAP ioctl will not always get the *currently*\nused color map.\n\nThe patch fixes this by making sure the cmap is copied to info-\u003ecmap after\nit is set correctly.  It moves most of the code that is responsible for\nsetting the cmap to fb_set_cmap() and out of fb_set_user_cmap() to avoid\ncode-duplication.\n\nSigned-off-by: Michal Januszewski \u003cspock@gentoo.org\u003e\nCc: \u003clinux-fbdev-devel@lists.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e5ce8f7d65e263144f387d2db97e843aed4f493",
      "old_mode": 33188,
      "old_path": "drivers/video/fbcmap.c",
      "new_id": "c32a2a50bfa2a0870bd69f5c86bbf68a8c81e64d",
      "new_mode": 33188,
      "new_path": "drivers/video/fbcmap.c"
    }
  ]
}
