Changeset 5ef16903 in mainline


Ignore:
Timestamp:
2018-03-10T21:56:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
338d54a7
Parents:
53ad43c
Message:

ccheck found these backslashes incorrectly placed in C code.

Location:
uspace
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/stats/stats.c

    r53ad43c r5ef16903  
    202202{
    203203        printf(
    204             "Usage: %s [-t task_id] [-a] [-c] [-l] [-u]\n" \
    205             "\n" \
    206             "Options:\n" \
    207             "\t-t task_id\n" \
    208             "\t--task=task_id\n" \
    209             "\t\tList threads of the given task\n" \
    210             "\n" \
    211             "\t-a\n" \
    212             "\t--all\n" \
    213             "\t\tList all threads\n" \
    214             "\n" \
    215             "\t-c\n" \
    216             "\t--cpus\n" \
    217             "\t\tList CPUs\n" \
    218             "\n" \
    219             "\t-l\n" \
    220             "\t--load\n" \
    221             "\t\tPrint system load\n" \
    222             "\n" \
    223             "\t-u\n" \
    224             "\t--uptime\n" \
    225             "\t\tPrint system uptime\n" \
    226             "\n" \
    227             "\t-h\n" \
    228             "\t--help\n" \
     204            "Usage: %s [-t task_id] [-a] [-c] [-l] [-u]\n"
     205            "\n"
     206            "Options:\n"
     207            "\t-t task_id\n"
     208            "\t--task=task_id\n"
     209            "\t\tList threads of the given task\n"
     210            "\n"
     211            "\t-a\n"
     212            "\t--all\n"
     213            "\t\tList all threads\n"
     214            "\n"
     215            "\t-c\n"
     216            "\t--cpus\n"
     217            "\t\tList CPUs\n"
     218            "\n"
     219            "\t-l\n"
     220            "\t--load\n"
     221            "\t\tPrint system load\n"
     222            "\n"
     223            "\t-u\n"
     224            "\t--uptime\n"
     225            "\t\tPrint system uptime\n"
     226            "\n"
     227            "\t-h\n"
     228            "\t--help\n"
    229229            "\t\tPrint this usage information\n"
    230             "\n" \
     230            "\n"
    231231            "Without any options all tasks are listed\n",
    232232            name
  • uspace/drv/block/usbmast/main.c

    r53ad43c r5ef16903  
    267267        }
    268268
    269         usb_log_info("Mass storage `%s' LUN %u: " \
     269        usb_log_info("Mass storage `%s' LUN %u: "
    270270            "%s by %s rev. %s is %s (%s).\n",
    271271            usb_device_get_name(mdev->usb_dev),
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    r53ad43c r5ef16903  
    321321            ohci_batch->tds[td_current]->be);
    322322        usb_log_debug2(
    323             "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.", \
     323            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.",
    324324            &ohci_batch->base,
    325325            usb_str_transfer_type(ohci_batch->base.ep->transfer_type),
     
    366366        }
    367367        usb_log_debug2(
    368             "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.", \
     368            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.",
    369369            &ohci_batch->base,
    370370            usb_str_transfer_type(ohci_batch->base.ep->transfer_type),
  • uspace/drv/bus/usb/uhci/uhci_batch.c

    r53ad43c r5ef16903  
    251251        uhci_ep->toggle = toggle;
    252252        usb_log_debug2(
    253             "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.", \
     253            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.",
    254254            uhci_batch,
    255255            usb_str_transfer_type(uhci_batch->base.ep->transfer_type),
  • uspace/drv/nic/rtl8169/defs.h

    r53ad43c r5ef16903  
    189189        INT_RER = (1 << 1), /**< Receive error interrupt */
    190190        INT_ROK = (1 << 0), /**< Receive OK interrupt */
    191         INT_KNOWN = (INT_SERR | INT_TIME_OUT | INT_SW | INT_TDU \
    192             | INT_FIFOOVW | INT_PUN | INT_RXOVW | INT_TER \
    193             | INT_TOK| INT_RER | INT_ROK),
     191        INT_KNOWN = (INT_SERR | INT_TIME_OUT | INT_SW | INT_TDU |
     192            INT_FIFOOVW | INT_PUN | INT_RXOVW | INT_TER |
     193            INT_TOK | INT_RER | INT_ROK),
    194194};
    195195
  • uspace/lib/softfloat/common.c

    r53ad43c r5ef16903  
    3838/* Table for fast leading zeroes counting. */
    3939char zeroTable[256] = {
    40         8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, \
    41         3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, \
    42         2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, \
    43         2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, \
    44         1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
    45         1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
    46         1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
    47         1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
    48         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    49         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    50         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    51         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    52         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    53         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
    54         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
     40        8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
     41        3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
     42        2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
     43        2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
     44        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     45        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     46        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     47        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     48        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     49        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     50        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     51        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     52        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     53        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     54        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    5555        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    5656};
  • uspace/lib/usbdev/src/devpoll.c

    r53ad43c r5ef16903  
    117117                const usb_endpoint_mapping_t *mapping =
    118118                    polling->ep_mapping;
    119                 usb_log_debug("Poll (%p): started polling of `%s' - " \
     119                usb_log_debug("Poll (%p): started polling of `%s' - "
    120120                    "interface %d (%s,%d,%d), %zuB/%zu.\n",
    121121                    polling, usb_device_get_name(polling->device),
  • uspace/srv/devman/drv_conn.c

    r53ad43c r5ef16903  
    143143        fid_t fid = fibril_create(init_running_drv, driver);
    144144        if (fid == 0) {
    145                 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed to create initialization fibril " \
     145                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed to create initialization fibril "
    146146                    "for driver `%s'.", driver->name);
    147147                fibril_mutex_unlock(&driver->driver_mutex);
  • uspace/srv/devman/main.c

    r53ad43c r5ef16903  
    114114
    115115        if (driver == NULL) {
    116                 log_msg(LOG_DEFAULT, LVL_ERROR, "IPC forwarding refused - " \
     116                log_msg(LOG_DEFAULT, LVL_ERROR, "IPC forwarding refused - "
    117117                    "the device %" PRIun " is not in usable state.", handle);
    118118                async_answer_0(iid, ENOENT);
     
    194194
    195195        if (driver == NULL) {
    196                 log_msg(LOG_DEFAULT, LVL_ERROR, "IPC forwarding refused - " \
     196                log_msg(LOG_DEFAULT, LVL_ERROR, "IPC forwarding refused - "
    197197                    "the device %" PRIun " is not in usable state.", handle);
    198198                async_answer_0(iid, ENOENT);
Note: See TracChangeset for help on using the changeset viewer.