Changes in / [3ce5162:ed6fdc7] in mainline


Ignore:
Location:
uspace
Files:
9 edited

Legend:

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

    r3ce5162 red6fdc7  
    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

    r3ce5162 red6fdc7  
    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

    r3ce5162 red6fdc7  
    14021402        fibril_mutex_unlock(&e1000->rx_lock);
    14031403        return EOK;
    1404        
    14051404error:
    14061405        for (i = 0; i < E1000_RX_FRAME_COUNT; i++) {
     
    14111410                }
    14121411        }
    1413        
    14141412        if (e1000->rx_frame_phys != NULL) {
    14151413                free(e1000->rx_frame_phys);
    14161414                e1000->rx_frame_phys = NULL;
    14171415        }
    1418        
    14191416        if (e1000->rx_frame_virt != NULL) {
    14201417                free(e1000->rx_frame_virt);
    14211418                e1000->rx_frame_phys = NULL;
    14221419        }
    1423        
    14241420        return rc;
    14251421}
     
    16461642                e1000->tx_frame_phys = NULL;
    16471643        }
    1648        
    16491644        dmamem_unmap_anonymous(e1000->tx_ring_virt);
    16501645}
  • uspace/drv/nic/lo/lo.c

    r3ce5162 red6fdc7  
    127127        printf("%s: Adding loopback device '%s'\n", NAME, dev->name);
    128128        return EOK;
    129        
    130129error:
    131130        if (bound)
    132131                ddf_fun_unbind(fun);
    133        
    134132        if (fun != NULL)
    135133                ddf_fun_destroy(fun);
  • uspace/drv/nic/rtl8139/general.h

    r3ce5162 red6fdc7  
    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

    r3ce5162 red6fdc7  
    2727 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2828 */
    29 
    3029/** @addtogroup libdrv
    3130 * @addtogroup usb
    3231 * @{
    3332 */
    34 
    3533/** @file
    3634 * @brief USB host controller interface definition.
  • uspace/srv/loc/loc.c

    r3ce5162 red6fdc7  
    813813 * On success, answer will contain EOK int retval.
    814814 * On failure, error code will be sent in retval.
    815  *
    816815 */
    817816static void loc_callback_create(ipc_callid_t iid, ipc_call_t *icall)
    818817{
    819         cb_sess_t *cb_sess = calloc(1, sizeof(cb_sess_t));
     818        cb_sess_t *cb_sess;
     819       
     820        cb_sess = calloc(1, sizeof(cb_sess_t));
    820821        if (cb_sess == NULL) {
    821822                async_answer_0(iid, ENOMEM);
  • uspace/srv/net/net/net.h

    r3ce5162 red6fdc7  
    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

    r3ce5162 red6fdc7  
    360360    services_t sender)
    361361{
     362        packet_t *p;
     363       
    362364        fibril_rwlock_read_lock(&nildummy_globals.devices_lock);
    363365       
     
    369371        }
    370372       
    371         packet_t *p = packet;
     373        p = packet;
    372374        do {
    373375                nic_send_frame(device->sess, packet_get_data(p),
Note: See TracChangeset for help on using the changeset viewer.