)]}'
{
  "commit": "59eb1ca7a8906412478656ba79261036261f4b76",
  "tree": "e21974f7a9f07cc1f4f2378428ea1c76b9259018",
  "parents": [
    "bf3f837804997e5f5d9888051e9e5356961af0f2"
  ],
  "author": {
    "name": "Christian Borntraeger",
    "email": "borntraeger@de.ibm.com",
    "time": "Sat Feb 09 18:24:33 2008 +0100"
  },
  "committer": {
    "name": "Martin Schwidefsky",
    "email": "schwidefsky@de.ibm.com",
    "time": "Sat Feb 09 18:24:39 2008 +0100"
  },
  "message": "[S390] sclp_vt220: Fix vt220 initialization\n\nThere are two problems in the vt220 intialization:\n\no Currently the vt220 console looses early printk events until the\n  the vt220 tty is registered.\no console should work if tty_register fails\n\nsclp_vt220_con_init calls __sclp_vt220_init and register_console.\nIt does not register the driver with the sclp core code via\nsclp_register. That results in an sclp_send_mask\u003d0. Therefore,\n__sclp_vt220_emit will reject buffers with EIO. Unfortunately\nregister_console will cause the printk buffer to be sent to the\nconsole and, therefore, every early message gets dropped. The\nsclp_send_mask is set later during boot, when sclp_vt220_tty_init\ncalls sclp_register.\n\nThe solution is to move the sclp_register call from sclp_vt220_tty_init\nto __sclp_vt220_init. This makes sure that the console is properly\nregistered with the sclp subsystem before the first log buffer messages\nare passed to the vt220 console.\n\nWe also adopt the cleanup on error to keep the console alive if\ntty_register fails.\n\nThanks to Peter Oberparleiter and Heiko Carstens for review and ideas\nfor improvement.\n\nSigned-off-by: Christian Borntraeger \u003cborntraeger@de.ibm.com\u003e\nSigned-off-by: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68071622d4bb13bf768ef2494dd040f2972508d7",
      "old_mode": 33188,
      "old_path": "drivers/s390/char/sclp_vt220.c",
      "new_id": "f47f4a768be5cf53019d259edaf544daa6230a1c",
      "new_mode": 33188,
      "new_path": "drivers/s390/char/sclp_vt220.c"
    }
  ]
}
