Changeset 4c363fa2 in mainline for uspace/srv


Ignore:
Timestamp:
2017-09-21T00:02:23Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e962ad
Parents:
797dc79e
Message:

Most drivers can actually compile on most platforms.

Location:
uspace/srv/hw
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/cuda_adb/cuda_adb.c

    r797dc79e r4c363fa2  
    466466
    467467        if (size != 3) {
    468                 printf("unrecognized packet, size=%d\n", size);
     468                printf("unrecognized packet, size=%zu\n", size);
    469469                for (i = 0; i < size; ++i) {
    470470                        printf(" 0x%02x", data[i]);
     
    475475
    476476        if (reg_no != 0) {
    477                 printf("unrecognized packet, size=%d\n", size);
     477                printf("unrecognized packet, size=%zu\n", size);
    478478                for (i = 0; i < size; ++i) {
    479479                        printf(" 0x%02x", data[i]);
  • uspace/srv/hw/irc/icp-ic/icp-ic.c

    r797dc79e r4c363fa2  
    6565                return EINVAL;
    6666
    67         log_msg(LOG_DEFAULT, LVL_NOTE, "Enable IRQ %d", irq);
     67        log_msg(LOG_DEFAULT, LVL_NOTE, "Enable IRQ %zu", irq);
    6868
    6969        pio_write_32(&icpic_regs->irq_enableset, BIT_V(uint32_t, irq));
  • uspace/srv/hw/irc/obio/obio.c

    r797dc79e r4c363fa2  
    4848#include <ddi.h>
    4949#include <align.h>
     50#include <inttypes.h>
    5051#include <stdbool.h>
    5152#include <errno.h>
     
    127128        }
    128129       
    129         printf("%s: OBIO registers with base at %lx\n", NAME, base_phys);
     130        printf("%s: OBIO registers with base at 0x%" PRIun "\n", NAME, base_phys);
    130131       
    131132        async_set_fallback_port_handler(obio_connection, NULL);
Note: See TracChangeset for help on using the changeset viewer.