mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-24 13:05:18 +00:00
wifi_drv: silence 'Slab too large' error
We will always see this error message when the driver is started. It is expected and not an actual error. When the driver is running it will not allocate larger chunks than the Slab provides. Therefore, we can safely ignore this message. Issue #1439.
This commit is contained in:
parent
862251fa8e
commit
c46e3db4d5
@ -319,7 +319,7 @@ class Malloc
|
||||
msb = SLAB_STOP_LOG2;
|
||||
|
||||
if (msb > SLAB_STOP_LOG2) {
|
||||
PERR("Slab too large %u reqested %zu cached %d", 1U << msb, size, _cached);
|
||||
// PERR("Slab too large %u reqested %zu cached %d", 1U << msb, size, _cached);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1227,7 +1227,7 @@ void *dma_alloc_coherent(struct device *dev, size_t size,
|
||||
void *addr = Malloc::dma().alloc(size, 12, &dma_addr);
|
||||
|
||||
if (!addr) {
|
||||
PERR("dma alloc: %zu failed", size);
|
||||
// PERR("dma alloc: %zu failed", size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user