[lkml]   [2003]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[CHECKER] 1 potential double unlock error

    It's in net/3c505.c. Please help us to confirm or clarify. Thanks.


    [BUG] if timeouts, will double unlock

    ERROR:LOCK:432:467:double unlock &(*adapter).lock[TRANS: &(*adapter).lock,
    locked->unlocked, /home/junfeng/linux-2.5.63/drivers/net/3c505.c,
    send_pcb, 446]

    set_hsf(dev, 0);

    if (send_pcb_slow(dev->base_addr, pcb->command))
    goto abort;

    Start --->
    spin_lock_irqsave(&adapter->lock, flags);

    ... DELETED 29 lines ...

    if (elp_debug >= 1)
    printk("%s: timeout waiting for PCB acknowledge (status
    %02x)\n", dev->name, inb_status(dev->base_addr));

    Error --->
    spin_unlock_irqrestore(&adapter->lock, flags);
    adapter->send_pcb_semaphore = 0;
    return FALSE;

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:34    [W:0.018 / U:71.768 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site