Revision 6ad6135d

b/hw/usb-ohci.c
1099 1099
static void ohci_process_lists(OHCIState *ohci, int completion)
1100 1100
{
1101 1101
    if ((ohci->ctl & OHCI_CTL_CLE) && (ohci->status & OHCI_STATUS_CLF)) {
1102
        if (ohci->ctrl_cur && ohci->ctrl_cur != ohci->ctrl_head)
1103
          DPRINTF("usb-ohci: head %x, cur %x\n",
1104
                          ohci->ctrl_head, ohci->ctrl_cur);
1102
        if (ohci->ctrl_cur && ohci->ctrl_cur != ohci->ctrl_head) {
1103
            DPRINTF("usb-ohci: head %x, cur %x\n",
1104
                    ohci->ctrl_head, ohci->ctrl_cur);
1105
        }
1105 1106
        if (!ohci_service_ed_list(ohci, ohci->ctrl_head, completion)) {
1106 1107
            ohci->ctrl_cur = 0;
1107 1108
            ohci->status &= ~OHCI_STATUS_CLF;
......
1367 1368

  
1368 1369
    ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PES);
1369 1370

  
1370
    if (ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PSS))
1371
    if (ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PSS)) {
1371 1372
        DPRINTF("usb-ohci: port %d: SUSPEND\n", portnum);
1373
    }
1372 1374

  
1373 1375
    if (ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PRS)) {
1374 1376
        DPRINTF("usb-ohci: port %d: RESET\n", portnum);
b/target-sparc/translate.c
3169 3169
                                break;
3170 3170
                            case 0xf: /* V9 sir, nop if user */
3171 3171
#if !defined(CONFIG_USER_ONLY)
3172
                                if (supervisor(dc))
3172
                                if (supervisor(dc)) {
3173 3173
                                    ; // XXX
3174
                                }
3174 3175
#endif
3175 3176
                                break;
3176 3177
                            case 0x13: /* Graphics Status */

Also available in: Unified diff