Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp261178pxf; Wed, 31 Mar 2021 02:45:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxnHwWJ/ivzloJxOEIvJpyOmVBsVc3Qr6UoLLizaQH9sJbAN2Z9uhfqx+1VEUrwp+SEAav X-Received: by 2002:a05:6402:34c8:: with SMTP id w8mr2692148edc.235.1617183927601; Wed, 31 Mar 2021 02:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617183927; cv=none; d=google.com; s=arc-20160816; b=UsrmvAxZ2IXwIms2Oq/Q+KV5oQ7MLgbHrJdMpEs/MWkpiHr1dg3+lDj1gr6JtbYXww gRTCC8zKC6KZDq6qHm7kziUi12Semzo5EMeILzqaknTPNsgRGsCDmiFVAIa1rTgcsrNl x14D1haBdzGpBeEz1oabDpzPioPActJd5bjXAyfZAiZw/2Gmu0ot91B1mWnPdkL1CTXb 5wSNY0Cp+pFbME/9h8RWch3PbrI7q/amUo4DxIswYFSVNwQxEPl848QPYRnEyf9mBAyC 7xTTpui+bx8cvQ1HKnvRlEWIhf03gh9V6YIpQ1Cog5ZhW/2MdradCrVwrhVFG+kuLSAt g90A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l1/mtMaWyruUy5GsP0u8+X/MRIyBkOmtJzzZNj7uzOQ=; b=D/yojXOe3R0dTlZ1sYloOBaCYhJgPEb46D8U2arncZuPE+OqQsxfU9tu1yx9+xzWFV n+KoaQ4QOisL7vOVKQ3w0H2c3/1IgmzbyLvJK80lo5fM8Ae59uSFOqiHh0aNtQqdwiDZ OD/zYsKqAu/uLTc21Y4sviYlQ4vL4Tg6yKIqkRhve7SCoObn/s6+1CI9ocIAj0gdkVRu RRe7OAjVB5Y5rSoLYUWetkhCiS/xdw4R9eUV/g/Mv0wzGM8PMLByhcDYUOGaYBU1gxAR hdx24GeSKkd0kEbliZrCSZ7Bhq4p4qjfBlA2vWC+eYv7wkQWpRFslrDbaOtVfRd9up7J R9TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P2q09m1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si1137044eja.265.2021.03.31.02.45.04; Wed, 31 Mar 2021 02:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P2q09m1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235028AbhCaJlu (ORCPT + 99 others); Wed, 31 Mar 2021 05:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234883AbhCaJlE (ORCPT ); Wed, 31 Mar 2021 05:41:04 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87224C06174A for ; Wed, 31 Mar 2021 02:41:04 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id w3so29113952ejc.4 for ; Wed, 31 Mar 2021 02:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l1/mtMaWyruUy5GsP0u8+X/MRIyBkOmtJzzZNj7uzOQ=; b=P2q09m1bbRygwmcdpWCGAfNBVrNQ4aB/i7eJWqL1mcWI6UyE2cfNGPv5lu9iaV/6Ed mP68ZteDqVUPUJydTNuU+ZLVXngo8LXtVTUSWcTK0kqP/rGBn28RrUC8ceaz1qCcxxFF pggBC1aOG3j/42N0EsITeaJQDGrwlaPiY9tAKyiaLK5fAYw51qMYd2jI9lRe4O+07ug1 w8sdWN4kcjj+rYJ2FBM1Dv2aLRqL0S1JPwbidjmB66VCcC5BJ2q2Z0X6t8YdhuKu9749 QbdY5kBR09hOhDdZX46oYR+IwyGgJ9b6friF4oRdktewE/KW/oXCcZkepCQo5qBmdtcm a0Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l1/mtMaWyruUy5GsP0u8+X/MRIyBkOmtJzzZNj7uzOQ=; b=ryxuhEX6PLmOuhPKdKmCROeoKYaEUtAfPR/VDVT/+uMwxzxHZDnW8ELFYoXS9J93/3 SCYJKZAyE/wO7G2zHl4x+udW0xBDNGOAtymwBoklr4BqC01DlJTO8SCOzSXmtk5yn3Yw gZV7r0AYbGFq0cd0v3oC89cdxpylLQZGxKTpM6FU29chzcXHVdd0+NrQZCcbaCuQf9/X XuwlclyHJzgEBzXs5uIV3AZVzuScMGo4CT0fT2Zhy4Jblmf6jOHMMLqaNQf/8A+xSSjF OLUenu/adlHkqeo8l3sMgtNEvN1f0725xKPSaerUUZJ9flbegM6aC5vtF3lSnSsykC/l 8Thw== X-Gm-Message-State: AOAM533VD+hegaOppr6+KHlLb+yESIFdx9wdRriUB7WuHlG2AJjuHzME 5sNm3dOAXOg6Na66ymE/IBJT2X/hw1+hZA== X-Received: by 2002:a17:906:4f10:: with SMTP id t16mr2521117eju.531.1617183663313; Wed, 31 Mar 2021 02:41:03 -0700 (PDT) Received: from agape ([5.171.73.44]) by smtp.gmail.com with ESMTPSA id n6sm841200eji.37.2021.03.31.02.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 02:41:03 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 27/40] staging: rtl8723bs: replace RT_TRACE with public printk wrappers in hal/rtl8723bs_recv.c Date: Wed, 31 Mar 2021 11:39:55 +0200 Message-Id: <41f84e20efd2fbef44271c383be9cfe3dc610427.1617183374.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org replace private macro RT_TRACE for tracing with in-kernel pr_* printk wrappers Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c index 17a3e7bf66ef..7c8e0402f150 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c @@ -346,7 +346,8 @@ static void rtl8723bs_recv_tasklet(struct tasklet_struct *t) update_recvframe_phyinfo(precvframe, (struct phy_stat *)ptr); if (rtw_recv_entry(precvframe) != _SUCCESS) { - RT_TRACE(_module_rtl871x_recv_c_, _drv_dump_, ("%s: rtw_recv_entry(precvframe) != _SUCCESS\n", __func__)); + pr_devel("%s %s: rtw_recv_entry(precvframe) != _SUCCESS\n", + DRIVER_PREFIX, __func__); } } else if (pattrib->pkt_rpt_type == C2H_PACKET) { struct c2h_evt_hdr_t C2hEvent; @@ -404,7 +405,7 @@ s32 rtl8723bs_init_recv_priv(struct adapter *padapter) precvpriv->pallocated_recv_buf = rtw_zmalloc(n); if (!precvpriv->pallocated_recv_buf) { res = _FAIL; - RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("alloc recv_buf fail!\n")); + pr_err("%s alloc recv_buf fail!\n", DRIVER_PREFIX); goto exit; } -- 2.20.1