Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5cc9eba in mainline


Ignore:
Timestamp:
2012-01-25T17:29:51Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
3ce5162, 5cd3d67
Parents:
8576bb4
Message:

cstyle
(no change in functionality)

Location:
uspace
Files:
9 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
  • uspace/lib/drv/include/usbhc_iface.h

    r8576bb4 r5cc9eba  
    2727 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2828 */
     29
    2930/** @addtogroup libdrv
    3031 * @addtogroup usb
    3132 * @{
    3233 */
     34
    3335/** @file
    3436 * @brief USB host controller interface definition.
  • uspace/srv/loc/loc.c

    r8576bb4 r5cc9eba  
    813813 * On success, answer will contain EOK int retval.
    814814 * On failure, error code will be sent in retval.
     815 *
    815816 */
    816817static void loc_callback_create(ipc_callid_t iid, ipc_call_t *icall)
    817818{
    818         cb_sess_t *cb_sess;
    819        
    820         cb_sess = calloc(1, sizeof(cb_sess_t));
     819        cb_sess_t *cb_sess = calloc(1, sizeof(cb_sess_t));
    821820        if (cb_sess == NULL) {
    822821                async_answer_0(iid, ENOMEM);
  • uspace/srv/net/net/net.h

    r8576bb4 r5cc9eba  
    9696       
    9797        /** Serving network interface driver module index. */
    98         service_id_t sid;  /**< Service ID */
    99         async_sess_t *sess;      /**< Driver session. */
     98        service_id_t sid;    /**< Service ID */
     99        async_sess_t *sess;  /**< Driver session. */
    100100       
    101101        module_t *nil;  /**< Serving link layer module index. */
  • uspace/srv/net/nil/nildummy/nildummy.c

    r8576bb4 r5cc9eba  
    360360    services_t sender)
    361361{
    362         packet_t *p;
    363        
    364362        fibril_rwlock_read_lock(&nildummy_globals.devices_lock);
    365363       
     
    371369        }
    372370       
    373         p = packet;
     371        packet_t *p = packet;
    374372        do {
    375373                nic_send_frame(device->sess, packet_get_data(p),
Note: See TracChangeset for help on using the changeset viewer.