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:
Josef Söntgen 2015-03-09 12:56:49 +01:00 committed by Christian Helmuth
parent 862251fa8e
commit c46e3db4d5
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}