Changeset 5cc9eba in mainline for uspace/drv


Ignore:
Timestamp:
2012-01-25T17:29:51Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ce5162, 5cd3d67
Parents:
8576bb4
Message:

cstyle
(no change in functionality)

Location:
uspace/drv
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    r8576bb4 r5cc9eba  
    401401
    402402        val = skip_spaces(val);
    403         irq = (int)strtol(val, &end, 10);
     403        irq = (int) strtol(val, &end, 10);
    404404
    405405        if (val != end)
  • uspace/drv/bus/usb/usbhid/mouse/mousedev.c

    r8576bb4 r5cc9eba  
    167167        return result;
    168168}
    169 /*----------------------------------------------------------------------------*/
     169
    170170static bool usb_mouse_process_report(usb_hid_dev_t *hid_dev,
    171171    usb_mouse_t *mouse_dev)
     
    305305        return EOK;
    306306}
    307 /*----------------------------------------------------------------------------*/
     307
    308308/** Get highest index of a button mentioned in given report.
    309309 *
  • uspace/drv/nic/e1k/e1k.c

    r8576bb4 r5cc9eba  
    14021402        fibril_mutex_unlock(&e1000->rx_lock);
    14031403        return EOK;
     1404       
    14041405error:
    14051406        for (i = 0; i < E1000_RX_FRAME_COUNT; i++) {
     
    14101411                }
    14111412        }
     1413       
    14121414        if (e1000->rx_frame_phys != NULL) {
    14131415                free(e1000->rx_frame_phys);
    14141416                e1000->rx_frame_phys = NULL;
    14151417        }
     1418       
    14161419        if (e1000->rx_frame_virt != NULL) {
    14171420                free(e1000->rx_frame_virt);
    14181421                e1000->rx_frame_phys = NULL;
    14191422        }
     1423       
    14201424        return rc;
    14211425}
     
    16421646                e1000->tx_frame_phys = NULL;
    16431647        }
     1648       
    16441649        dmamem_unmap_anonymous(e1000->tx_ring_virt);
    16451650}
  • uspace/drv/nic/lo/lo.c

    r8576bb4 r5cc9eba  
    127127        printf("%s: Adding loopback device '%s'\n", NAME, dev->name);
    128128        return EOK;
     129       
    129130error:
    130131        if (bound)
    131132                ddf_fun_unbind(fun);
     133       
    132134        if (fun != NULL)
    133135                ddf_fun_destroy(fun);
  • uspace/drv/nic/rtl8139/general.h

    r8576bb4 r5cc9eba  
    2929/** @file
    3030 *
    31  *  General functions and structures used in rtl8139 driver
     31 * General functions and structures used in rtl8139 driver
    3232 */
    3333
Note: See TracChangeset for help on using the changeset viewer.