Changeset 1b20da0 in mainline for uspace/drv


Ignore:
Timestamp:
2018-02-28T17:52:03Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

Location:
uspace/drv
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/ahci/ahci.c

    rdf6ded8 r1b20da0  
    12551255 *
    12561256 */
    1257 static errno_t ahci_dev_add(ddf_dev_t *dev)     
     1257static errno_t ahci_dev_add(ddf_dev_t *dev)
    12581258{
    12591259        ahci_dev_t *ahci = ahci_ahci_create(dev);
  • uspace/drv/block/ata_bd/ata_bd.c

    rdf6ded8 r1b20da0  
    428428
    429429                d->blocks =
    430                      (uint32_t) idata.total_lba28_0 | 
     430                     (uint32_t) idata.total_lba28_0 |
    431431                    ((uint32_t) idata.total_lba28_1 << 16);
    432432        } else {
     
    441441                     (uint64_t) idata.total_lba48_0 |
    442442                    ((uint64_t) idata.total_lba48_1 << 16) |
    443                     ((uint64_t) idata.total_lba48_2 << 32) | 
     443                    ((uint64_t) idata.total_lba48_2 << 32) |
    444444                    ((uint64_t) idata.total_lba48_3 << 48);
    445445        }
  • uspace/drv/block/ddisk/ddisk.c

    rdf6ded8 r1b20da0  
    156156                .cmd = CMD_PREDICATE,
    157157                .srcarg = 2,
    158                 .value = 2 
     158                .value = 2
    159159        },
    160160        {
     
    162162                .cmd = CMD_PIO_WRITE_32,
    163163                .value = DDISK_CMD_IRQ_DEASSERT,
    164                 .addr = NULL 
     164                .addr = NULL
    165165        },
    166166        {
     
    244244
    245245        if (size < cnt * DDISK_BLOCK_SIZE)
    246                 return EINVAL;         
     246                return EINVAL;
    247247
    248248        for (i = 0; i < cnt; i++) {
     
    270270errno_t ddisk_bd_get_block_size(bd_srv_t *bd, size_t *rsize)
    271271{
    272         *rsize = DDISK_BLOCK_SIZE; 
     272        *rsize = DDISK_BLOCK_SIZE;
    273273        return EOK;
    274274}
     
    279279
    280280        *rnb = ddisk->blocks;
    281         return EOK;     
     281        return EOK;
    282282}
    283283
     
    304304        addr_range_t *regs = &hw_res.mem_ranges.ranges[0];
    305305        ddisk_res->base = RNGABS(*regs);
    306         ddisk_res->irq = hw_res.irqs.irqs[0]; 
     306        ddisk_res->irq = hw_res.irqs.irqs[0];
    307307
    308308        if (RNGSZ(*regs) < sizeof(ddisk_regs_t)) {
     
    550550        if (rc != EOK) {
    551551                ddf_msg(LVL_ERROR, "Unable to disable PIO.");
    552                 return rc;     
     552                return rc;
    553553        }
    554554
  • uspace/drv/bus/isa/isa.c

    rdf6ded8 r1b20da0  
    739739                    "for the device.");
    740740                return rc;
    741         }       
     741        }
    742742
    743743        /* Make the bus device more visible. Does not do anything. */
  • uspace/drv/bus/pci/pciintel/pci.c

    rdf6ded8 r1b20da0  
    539539                return addr + (addrw64 ? 8 : 4);
    540540
    541         mask &= bar;   
     541        mask &= bar;
    542542
    543543        /* Restore the original value. */
     
    599599 * @param bus_num       Bus number
    600600 */
    601 void pci_bus_scan(pci_bus_t *bus, int bus_num) 
     601void pci_bus_scan(pci_bus_t *bus, int bus_num)
    602602{
    603603        pci_fun_t *fun;
  • uspace/drv/bus/pci/pciintel/pci.h

    rdf6ded8 r1b20da0  
    4040#include "pci_regs.h"
    4141
    42 #define PCI_MAX_HW_RES 10 
     42#define PCI_MAX_HW_RES 10
    4343
    4444typedef struct pciintel_bus {
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    rdf6ded8 r1b20da0  
    199199                        assert((ohci_ep->ed->td_head & ED_TDHEAD_HALTED_FLAG) != 0);
    200200
    201                         /* We don't care where the processing stopped, we just 
     201                        /* We don't care where the processing stopped, we just
    202202                         * need to make sure it's not using any of the TDs owned
    203203                         * by the transfer.
  • uspace/drv/char/msim-con/msim-con.c

    rdf6ded8 r1b20da0  
    205205
    206206        for (i = 0; i < size; i++)
    207                 msim_con_putchar(con, dp[i]); 
     207                msim_con_putchar(con, dp[i]);
    208208
    209209        *nwr = size;
  • uspace/drv/char/ns8250/ns8250.c

    rdf6ded8 r1b20da0  
    388388       
    389389        pio_write_8(&ns->regs->mcr, NS8250_MCR_ALL);
    390         if ((pio_read_8(&ns->regs->msr) & NS8250_MSR_SIGNALS) 
     390        if ((pio_read_8(&ns->regs->msr) & NS8250_MSR_SIGNALS)
    391391            != NS8250_MSR_SIGNALS)
    392392                res = false;
     
    483483        /* Interrupt when data received. */
    484484        pio_write_8(&regs->ier, NS8250_IER_RXREADY | NS8250_IER_RXSTATUS);
    485         pio_write_8(&regs->mcr, NS8250_MCR_DTR | NS8250_MCR_RTS 
     485        pio_write_8(&regs->mcr, NS8250_MCR_DTR | NS8250_MCR_RTS
    486486            | NS8250_MCR_OUT2);
    487487}
  • uspace/drv/char/ski-con/ski-con.c

    rdf6ded8 r1b20da0  
    248248
    249249        for (i = 0; i < size; i++)
    250                 ski_con_putchar(con, dp[i]); 
     250                ski_con_putchar(con, dp[i]);
    251251
    252252        *nwr = size;
  • uspace/drv/char/sun4v-con/sun4v-con.c

    rdf6ded8 r1b20da0  
    173173
    174174        for (i = 0; i < size; i++)
    175                 sun4v_con_putchar(con, dp[i]); 
     175                sun4v_con_putchar(con, dp[i]);
    176176
    177177        *nwr = size;
  • uspace/drv/hid/usbhid/kbd/kbddev.h

    rdf6ded8 r1b20da0  
    5454 * data, such as currently pressed keys, modifiers and lock keys.
    5555 *
    56  * Also holds a IPC session to the console (since there is now no other way to 
     56 * Also holds a IPC session to the console (since there is now no other way to
    5757 * communicate with it).
    5858 *
     
    9898        int32_t *led_data;
    9999       
    100         /** State of the structure (for checking before use). 
     100        /** State of the structure (for checking before use).
    101101         *
    102102         * 0 - not initialized
  • uspace/drv/hid/usbhid/kbd/kbdrepeat.c

    rdf6ded8 r1b20da0  
    136136 * Start repeating particular key.
    137137 *
    138  * @note Only one key is repeated at any time, so calling this function 
     138 * @note Only one key is repeated at any time, so calling this function
    139139 *       effectively cancels auto-repeat of the current repeated key (if any)
    140140 *       and 'schedules' another key for auto-repeat.
  • uspace/drv/hid/usbhid/multimedia/keymap.c

    rdf6ded8 r1b20da0  
    4141
    4242/**
    43  * Mapping between USB HID multimedia usages (from HID Usage Tables) and 
     43 * Mapping between USB HID multimedia usages (from HID Usage Tables) and
    4444 * corresponding HelenOS key codes.
    4545 *
     
    7272 *
    7373 * @param usage USB HID Consumer Page Usage number.
    74  * 
     74 *
    7575 * @retval HelenOS key code corresponding to the given USB Consumer Page Usage.
    7676 */
  • uspace/drv/nic/ar9271/ar9271.c

    rdf6ded8 r1b20da0  
    381381                rate_msg.legacy_rates_count = ARRAY_SIZE(ieee80211bg_data_rates);
    382382                memcpy(&rate_msg.legacy_rates,
    383                     ieee80211bg_data_rates, 
     383                    ieee80211bg_data_rates,
    384384                    ARRAY_SIZE(ieee80211bg_data_rates));
    385385               
  • uspace/drv/nic/ar9271/ar9271.h

    rdf6ded8 r1b20da0  
    148148        AR9271_AGC_CONTROL = 0x9860,
    149149        AR9271_PHY_CAL = 0x9864,
    150         AR9271_PHY_SYNTH_CONTROL = 0x9874, 
     150        AR9271_PHY_SYNTH_CONTROL = 0x9874,
    151151        AR9271_PHY_SPECTRAL_SCAN = 0x9910,
    152152        AR9271_PHY_RADAR0 = 0x9954,
     
    156156        AR9271_PHY_MODE = 0xA200,
    157157        AR9271_PHY_CCK_TX_CTRL = 0xA204,
    158         AR9271_PHY_TPCRG1 = 0xA258, 
     158        AR9271_PHY_TPCRG1 = 0xA258,
    159159        AR9271_CARRIER_LEAK_CONTROL = 0xA358,
    160160        AR9271_ADC_CONTROL_OFF_PWDADC = 0x00008000,
    161161        AR9271_AGC_CONTROL_CALIB = 0x00000001,
    162162        AR9271_AGC_CONTROL_NF_CALIB = 0x00000002,
    163         AR9271_AGC_CONTROL_NF_CALIB_EN = 0x00008000, 
     163        AR9271_AGC_CONTROL_NF_CALIB_EN = 0x00008000,
    164164        AR9271_AGC_CONTROL_TX_CALIB = 0x00010000,
    165165        AR9271_AGC_CONTROL_NF_NOT_UPDATE = 0x00020000,
  • uspace/drv/nic/ar9271/ath_usb.c

    rdf6ded8 r1b20da0  
    137137/** Send data message.
    138138 *
    139  * @param ath         Generic Atheros WiFi device structure. 
     139 * @param ath         Generic Atheros WiFi device structure.
    140140 * @param buffer      Buffer with data to send.
    141141 * @param buffer_size Buffer size.
  • uspace/drv/nic/ar9271/htc.c

    rdf6ded8 r1b20da0  
    320320            ((void *) buffer + sizeof(htc_frame_header_t));
    321321       
    322         config_message->message_id = 
     322        config_message->message_id =
    323323            host2uint16_t_be(HTC_MESSAGE_CONFIG);
    324324        /* Magic number to initialize device. */
  • uspace/drv/nic/ar9271/wmi.h

    rdf6ded8 r1b20da0  
    2929/** @file wmi.h
    3030 *
    31  * Definitions of the Atheros WMI protocol specified in the 
     31 * Definitions of the Atheros WMI protocol specified in the
    3232 * Wireless Module Interface (WMI).
    3333 *
  • uspace/drv/nic/ne2k/ne2k.c

    rdf6ded8 r1b20da0  
    6868        {
    6969                .base = 0,
    70                 .size = NE2K_IO_SIZE, 
     70                .size = NE2K_IO_SIZE,
    7171        }
    7272};
  • uspace/drv/nic/rtl8139/defs.h

    rdf6ded8 r1b20da0  
    310310        RCR_ACCEPT_MULTICAST  = 1 << 2,  /**< Accept multicast */
    311311        RCR_ACCEPT_PHYS_MATCH = 1 << 1,  /**< Accept device MAC address match */
    312         RCR_ACCEPT_ALL_PHYS   = 1 << 0,  /**< Accept all frames with 
    313                                           * phys. desticnation 
     312        RCR_ACCEPT_ALL_PHYS   = 1 << 0,  /**< Accept all frames with
     313                                          * phys. desticnation
    314314                                                                          */
    315315        RCR_ACCEPT_MASK = (1 << 6) - 1   /**< Mask of accept part */
     
    325325        CS_F_LINK100     = (1 << 6),
    326326        CS_F_CONNECT     = (1 << 5),
    327         CS_CON_STATUS    = (1 << 3),  /**< connection status: 
    328                                        *   1 = valid, 0 = disconnected 
     327        CS_CON_STATUS    = (1 << 3),  /**< connection status:
     328                                       *   1 = valid, 0 = disconnected
    329329                                                                   */
    330330        CS_CON_STATUS_EN = (1 << 2),  /**< LED1 pin connection status indication */
     
    361361enum rtl8139_anar {
    362362        ANAR_NEXT_PAGE    = (1 << 15),  /**< Next page bit, 0 - primary capability
    363                                          *  1 - protocol specific 
     363                                         *  1 - protocol specific
    364364                                                                         */
    365365        ANAR_ACK          = (1 << 14),  /**< Capability reception acknowledge */
     
    371371        ANAR_10_FD        = (1 << 6),   /**< 10BASE_T full duplex */
    372372        ANAR_10_HD        = (1 << 5),   /**< 10BASE_T half duplex */
    373         ANAR_SELECTOR     = 0x1         /**< Selector, 
     373        ANAR_SELECTOR     = 0x1         /**< Selector,
    374374                                         *   CSMA/CD (0x1) supported only
    375375                                                                         */
     
    391391
    392392        /** Descending/ascending grow of Rx/Tx FIFO (to test FIFO SRAM only) */
    393         CONFIG5_FIFO_ADDR_PTR = (1 << 3),   
     393        CONFIG5_FIFO_ADDR_PTR = (1 << 3),
    394394        /** Powersave if cable is disconnected */
    395         CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2), 
     395        CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2),
    396396
    397397        CONFIG5_LAN_WAKE     = (1 << 1),   /**< LANWake signal enabled */
     
    411411        CONFIG4_RxFIFOAutoClr = (1 << 7),  /**< Automatic RxFIFO owerflow clear */
    412412        CONFIG4_AnaOff        = (1 << 6),  /**< Analog poweroff */
    413         CONFIG4_LongWF        = (1 << 5),  /**< Long wakeup frame 
    414                                             *   (2xCRC8 + 3xCRC16) 
     413        CONFIG4_LongWF        = (1 << 5),  /**< Long wakeup frame
     414                                            *   (2xCRC8 + 3xCRC16)
    415415                                                                                */
    416416        CONFIG4_LWPME         = (1 << 4),  /**< LWAKE and PMEB assertion  */
     
    450450
    451451        LOOPBACK_SHIFT  = 17,           /**< Loopback mode shift */
    452         LOOPBACK_SIZE   = 2,            /**< Loopback mode size 
    453                                           *  00 = normal, 11 = loopback 
     452        LOOPBACK_SIZE   = 2,            /**< Loopback mode size
     453                                          *  00 = normal, 11 = loopback
    454454                                                                          */
    455455
     
    462462        TX_RETRY_COUNT_SIZE  = 4,            /**< Retries before aborting size */
    463463
    464         CLEAR_ABORT = 1 << 0    /**< Retransmit aborted frame at the last 
    465                                   *  transmitted descriptor 
     464        CLEAR_ABORT = 1 << 0    /**< Retransmit aborted frame at the last
     465                                  *  transmitted descriptor
    466466                                                          */
    467467};
     
    500500#define RTL8139_RXFLAGS_SIZE_64 3
    501501
    502 /** Get the buffer initial size without 16B padding 
     502/** Get the buffer initial size without 16B padding
    503503 *  Size is (8 + 2^flags) kB (^ in mean power)
    504504 *
  • uspace/drv/nic/rtl8139/driver.c

    rdf6ded8 r1b20da0  
    154154        uint32_t rcr = rtl8139->rcr_data.rcr_base | rtl8139->rcr_data.ucast_mask
    155155            | rtl8139->rcr_data.mcast_mask | rtl8139->rcr_data.bcast_mask
    156             | rtl8139->rcr_data.defect_mask | 
     156            | rtl8139->rcr_data.defect_mask |
    157157            (RXBUF_SIZE_FLAGS << RCR_RBLEN_SHIFT);
    158158       
     
    288288    nic_channel_mode_t duplex, nic_role_t);
    289289
    290 static errno_t rtl8139_pause_get(ddf_fun_t*, nic_result_t*, nic_result_t*, 
     290static errno_t rtl8139_pause_get(ddf_fun_t*, nic_result_t*, nic_result_t*,
    291291    uint16_t *);
    292292static errno_t rtl8139_pause_set(ddf_fun_t*, int, int, uint16_t);
     
    295295static errno_t rtl8139_autoneg_disable(ddf_fun_t *fun);
    296296static errno_t rtl8139_autoneg_probe(ddf_fun_t *fun, uint32_t *our_advertisement,
    297     uint32_t *their_advertisement, nic_result_t *result, 
     297    uint32_t *their_advertisement, nic_result_t *result,
    298298    nic_result_t *their_result);
    299299static errno_t rtl8139_autoneg_restart(ddf_fun_t *fun);
     
    501501 * @param rtl8139  controller private data
    502502 */
    503 static void rtl8139_rx_reset(rtl8139_t *rtl8139) 
     503static void rtl8139_rx_reset(rtl8139_t *rtl8139)
    504504{
    505505        /* Disable receiver, update offset and enable receiver again */
     
    511511        write_barrier();
    512512        pio_write_32(rtl8139->io_port + CAPR, 0);
    513         pio_write_32(rtl8139->io_port + RBSTART, 
     513        pio_write_32(rtl8139->io_port + RBSTART,
    514514            PTR2U32(rtl8139->rx_buff_phys));
    515515
     
    680680        while (tx_used != tx_next) {
    681681                size_t desc_to_check = tx_used % TX_BUFF_COUNT;
    682                 void * tsd_to_check = rtl8139->io_port + TSD0 
     682                void * tsd_to_check = rtl8139->io_port + TSD0
    683683                    + desc_to_check * sizeof(uint32_t);
    684684                uint32_t tsd_value = pio_read_32(tsd_to_check);
     
    13861386
    13871387        if (rtl8139->hw_version < RTL8139_VER_COUNT) {
    1388                 str_cpy(info->model_name, NIC_MODEL_MAX_LENGTH, 
     1388                str_cpy(info->model_name, NIC_MODEL_MAX_LENGTH,
    13891389                    model_names[rtl8139->hw_version]);
    13901390        } else {
     
    14651465};
    14661466
    1467 /** Check if pause frame operations are valid in current situation 
     1467/** Check if pause frame operations are valid in current situation
    14681468 *
    14691469 *  @param rtl8139  RTL8139 private structure
     
    15021502 *  @return EOK if succeed
    15031503 */
    1504 static errno_t rtl8139_pause_get(ddf_fun_t *fun, nic_result_t *we_send, 
     1504static errno_t rtl8139_pause_get(ddf_fun_t *fun, nic_result_t *we_send,
    15051505    nic_result_t *we_receive, uint16_t *time)
    15061506{
     
    15371537 *  @return EOK if succeed, INVAL if the pause frame has no sence
    15381538 */
    1539 static errno_t rtl8139_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive, 
     1539static errno_t rtl8139_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive,
    15401540    uint16_t time)
    15411541{
     
    20912091                rtl8139->int_mask = INT_TIME_OUT;
    20922092
    2093                 /* Force timer interrupt start be writing nonzero value to timer 
     2093                /* Force timer interrupt start be writing nonzero value to timer
    20942094                 * interrutp register (should be small to prevent big delay)
    20952095                 * Read TCTR to reset timer counter
  • uspace/drv/nic/rtl8139/general.c

    rdf6ded8 r1b20da0  
    7272}
    7373
    74 /** Initialize the timer register structures 
     74/** Initialize the timer register structures
    7575 *
    76  *  The structure will be initialized to the state that the first call of 
     76 *  The structure will be initialized to the state that the first call of
    7777 *  rtl8139_timer_act_step function will be the period expiration
    7878 *
     
    8484 */
    8585errno_t rtl8139_timer_act_init(rtl8139_timer_act_t * ta, uint32_t timer_freq,
    86     const struct timeval *time) 
     86    const struct timeval *time)
    8787{
    8888        if (!ta || timer_freq == 0 || !time)
  • uspace/drv/nic/rtl8169/driver.c

    rdf6ded8 r1b20da0  
    5959static errno_t rtl8169_set_operation_mode(ddf_fun_t *fun, int speed,
    6060    nic_channel_mode_t duplex, nic_role_t role);
    61 static errno_t rtl8169_pause_get(ddf_fun_t *fun, nic_result_t *we_send, 
     61static errno_t rtl8169_pause_get(ddf_fun_t *fun, nic_result_t *we_send,
    6262    nic_result_t *we_receive, uint16_t *time);
    63 static errno_t rtl8169_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive, 
     63static errno_t rtl8169_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive,
    6464    uint16_t time);
    6565static errno_t rtl8169_autoneg_enable(ddf_fun_t *fun, uint32_t advertisement);
     
    237237        /* Allocate TX ring */
    238238        rtl8169->tx_ring = AS_AREA_ANY;
    239         rc = dmamem_map_anonymous(TX_RING_SIZE, DMAMEM_4GiB, 
     239        rc = dmamem_map_anonymous(TX_RING_SIZE, DMAMEM_4GiB,
    240240            AS_AREA_READ | AS_AREA_WRITE, 0, &rtl8169->tx_ring_phys,
    241241            (void **)&rtl8169->tx_ring);
     
    251251        /* Allocate RX ring */
    252252        rtl8169->rx_ring = AS_AREA_ANY;
    253         rc = dmamem_map_anonymous(RX_RING_SIZE, DMAMEM_4GiB, 
     253        rc = dmamem_map_anonymous(RX_RING_SIZE, DMAMEM_4GiB,
    254254            AS_AREA_READ | AS_AREA_WRITE, 0, &rtl8169->rx_ring_phys,
    255255            (void **)&rtl8169->rx_ring);
     
    265265        /* Allocate TX buffers */
    266266        rtl8169->tx_buff = AS_AREA_ANY;
    267         rc = dmamem_map_anonymous(TX_BUFFERS_SIZE, DMAMEM_4GiB, 
     267        rc = dmamem_map_anonymous(TX_BUFFERS_SIZE, DMAMEM_4GiB,
    268268            AS_AREA_READ | AS_AREA_WRITE, 0, &rtl8169->tx_buff_phys,
    269269            &rtl8169->tx_buff);
     
    277277        /* Allocate RX buffers */
    278278        rtl8169->rx_buff = AS_AREA_ANY;
    279         rc = dmamem_map_anonymous(RX_BUFFERS_SIZE, DMAMEM_4GiB, 
     279        rc = dmamem_map_anonymous(RX_BUFFERS_SIZE, DMAMEM_4GiB,
    280280            AS_AREA_READ | AS_AREA_WRITE, 0, &rtl8169->rx_buff_phys,
    281281            &rtl8169->rx_buff);
     
    594594}
    595595
    596 static errno_t rtl8169_pause_get(ddf_fun_t *fun, nic_result_t *we_send, 
     596static errno_t rtl8169_pause_get(ddf_fun_t *fun, nic_result_t *we_send,
    597597    nic_result_t *we_receive, uint16_t *time)
    598598{
     
    600600}
    601601
    602 static errno_t rtl8169_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive, 
     602static errno_t rtl8169_pause_set(ddf_fun_t *fun, int allow_send, int allow_receive,
    603603    uint16_t time)
    604604{
  • uspace/drv/test/test1/test1.c

    rdf6ded8 r1b20da0  
    110110        if (rc != expected_rc) {
    111111                fprintf(stderr,
    112                     NAME ": Unexpected error registering function `%s'.\n" 
     112                    NAME ": Unexpected error registering function `%s'.\n"
    113113                    NAME ":     Expected \"%s\" but got \"%s\".\n",
    114114                    name, str_error(expected_rc), str_error(rc));
  • uspace/drv/test/test3/test3.c

    rdf6ded8 r1b20da0  
    9595        ddf_msg(LVL_NOTE, "Registered exposed function `%s'.", fun_name);
    9696
    97 leave: 
     97leave:
    9898        free(fun_name);
    9999       
  • uspace/drv/time/cmos-rtc/cmos-rtc.c

    rdf6ded8 r1b20da0  
    191191 *
    192192 * @return  EOK on success or an error code
    193  */ 
     193 */
    194194static errno_t
    195195rtc_dev_initialize(rtc_t *rtc)
     
    726726 * @return      The converted value
    727727 */
    728 static unsigned 
     728static unsigned
    729729bcd2bin(unsigned bcd)
    730730{
Note: See TracChangeset for help on using the changeset viewer.