[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-wireless
Subject: Re: [PATCH 1/2] ath10k: do not use coherent memory for allocated device memory chunks
From: Kalle Valo <kvalo () qca ! qualcomm ! com>
Date: 2015-11-30 10:29:31
Message-ID: 87wpszkcfo.fsf () kamboji ! qca ! qualcomm ! com
[Download RAW message or body]
Felix Fietkau <nbd@openwrt.org> writes:
> Coherent memory is more expensive to allocate (and constrained on some
> architectures where it has to be pre-allocated). It is also completely
> unnecessary, since the host has no reason to even access these allocated
> memory spaces
>
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
I see a new compiler warning:
drivers/net/wireless/ath/ath10k/wmi.c: In function
'ath10k_wmi_event_service_ready_work':
drivers/net/wireless/ath/ath10k/wmi.c:4347:30: warning: 'pool_size' may
be used uninitialized in this function [-Wuninitialized]
drivers/net/wireless/ath/ath10k/wmi.c:4319:6: note: 'pool_size' was
declared here
Seems to be false and maybe because my gcc is pretty old:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
But anyway it would be nice if this can be avoided.
--
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic