From 5ae8fbc71bea6b25b58c1c4cf9870e564aae62ed Mon Sep 17 00:00:00 2001 From: Dustin Newman Date: Wed, 10 Mar 2021 11:44:48 -0800 Subject: [PATCH] qcacld-3.0: Reduce the log level alloc failure Reduce the log level alloc failure since it is not fatal. Log the requested size of memory instead of last ring size found in the case of alloc failure. CRs-Fixed: 2894342 Change-Id: Idfb0eec7421e4568008517e35b2fb928f09b6818 --- core/dp/txrx3.0/dp_txrx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dp/txrx3.0/dp_txrx.c b/core/dp/txrx3.0/dp_txrx.c index 55bcfdd7ef9f..757ab2418a1b 100644 --- a/core/dp/txrx3.0/dp_txrx.c +++ b/core/dp/txrx3.0/dp_txrx.c @@ -677,9 +677,9 @@ void *dp_prealloc_get_coherent(uint32_t *size, void **base_vaddr_unaligned, } if (i == QDF_ARRAY_SIZE(g_dp_consistent_allocs)) - dp_err("unable to allocate memory for ring type %s (%d) size %d", + dp_info("unable to allocate memory for ring type %s (%d) size %d", dp_srng_get_str_from_hal_ring_type(ring_type), - ring_type, p->size); + ring_type, *size); return va_aligned; }