mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
Fix compiler warnings
This commit is contained in:
parent
b803375863
commit
32f6d75cdb
@ -56,14 +56,14 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size, size_t align
|
||||
|
||||
void *kmem_cache_alloc_node(struct kmem_cache *cache, gfp_t flags, int node)
|
||||
{
|
||||
dde_kit_log(DEBUG_SLAB, "\"%s\" alloc obj_size=%zd", cache->name,cache->size);
|
||||
dde_kit_log(DEBUG_SLAB, "\"%s\" alloc obj_size=%u", cache->name,cache->size);
|
||||
return kmalloc(cache->size, 0);
|
||||
}
|
||||
|
||||
|
||||
void *kmem_cache_alloc(struct kmem_cache *cache, gfp_t flags)
|
||||
{
|
||||
dde_kit_log(DEBUG_SLAB, "\"%s\" alloc obj_size=%zd", cache->name,cache->size);
|
||||
dde_kit_log(DEBUG_SLAB, "\"%s\" alloc obj_size=%u", cache->name,cache->size);
|
||||
return kmalloc(cache->size, 0);
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@ class Storage_device : public Genode::List<Storage_device>::Element,
|
||||
throw Io_error();
|
||||
|
||||
if (verbose)
|
||||
PDBG("PACKET: phys: %lx block: %llu count: %u %s",
|
||||
PDBG("PACKET: phys: %lx block: %llu count: %zu %s",
|
||||
phys, block_nr, block_count, read ? "read" : "write");
|
||||
|
||||
struct scsi_cmnd *cmnd = _scsi_alloc_command();
|
||||
|
Loading…
x
Reference in New Issue
Block a user