From 4a4623c7c76b91fa1514fee7bfceb597406d68c2 Mon Sep 17 00:00:00 2001 From: Houston Hoffman Date: Wed, 10 May 2017 12:36:55 -0700 Subject: [PATCH] qcacmn: Let qdf_lock_stats_cookie_create failure be dbg level qdf_lock_stats_cookie_create is a debug feature. Its failure should be dbg level since it fails gracefully. This avoids watch dogs in cases where all the cookies have been leaked. Change-Id: I99c751e6153964d00f2fc0b7dbf174a0e50e7fb9 CRs-Fixed: 2045394 --- qdf/linux/src/qdf_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdf/linux/src/qdf_lock.c b/qdf/linux/src/qdf_lock.c index 676beaa4e52e..d51940cd0cd3 100644 --- a/qdf/linux/src/qdf_lock.c +++ b/qdf/linux/src/qdf_lock.c @@ -835,7 +835,7 @@ void qdf_lock_stats_cookie_create(struct lock_stats *stats, qdf_atomic_inc(&lock_cookie_get_failures); count = qdf_atomic_inc_return(&lock_cookie_untracked_num); stats->cookie = (void *) DUMMY_LOCK_COOKIE; - QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, + QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG, "%s: cookie allocation failure, using dummy (%s:%d) count %d", __func__, func, line, count); return;