Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3426349rwi; Sun, 16 Oct 2022 10:36:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SApPxuexl7peESOYv+65NvWgAHQ/c5exYdlk7XsF4oMlebv/++VD50xLNfW/mIVqMYE2T X-Received: by 2002:a63:91ca:0:b0:460:c57f:9d8a with SMTP id l193-20020a6391ca000000b00460c57f9d8amr7236720pge.400.1665941802906; Sun, 16 Oct 2022 10:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665941802; cv=none; d=google.com; s=arc-20160816; b=R6l2ItFg0AhVjo0NsFnb74rQR5Qcz8GRbOLEXIuL8uFmNEU3PFyvJNqbC2LvJVxJv1 9yQJfWlwKUlbPfQmQeko8VE2ZSFCgXNnrNHvwVqKC+4ZURMq+MMy8hKvJWoM4oQ9am2J rbIE+hnwqIpOCqnySuIWGYM50fjL21gm3/mE82FcT4ut87Nw+53ir4/tV85yKqaOWtEI 9bWe8X9eftOTKwaHKo2BUpL5AvqT2k3xiZFyN6z5TRRGgGjWrtKUvSzKW4JQAbKIqUS4 1HhW5EXtyAFIKNCGPKGi9km2AN/2ftDY/NLpAKXyFK9ioSmOnKzlPy9Hj52ZwDITGdlX Z3cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=UG4hwCy9957FxOMAsK0JOwX3APF9qYW+A1+dDCADRY0=; b=HUfYLx7e2CFMOtu2drvDlgcwXfXHZAXSr2RBEPFiMy5tXB02jLwANlTRRcPMPwx6a+ mBZqcRM8EoXZ9AFNlv+Ng55iiXgjIHMCoHdBVlvVapupVqf1E7j1KsKfOUbFTq7Bk1Fk Wc9C134rfOs5Ckn6Q23l7YYo9ePwOD9Uxo0tcsBJAU6CHgXpAhVtzU/Yt/TF3YpWEl/E vvV8tLBmLqXuEJvoZsbr8k57wn+4cOIjKOQERaeXUprvsUOJXkcoeqUWR9YUat33NZnl 0+imRgq/oI1EC7n4djne5gFjq6URuq0WcvorSPh03HbBhPA6BGfGdl+idyn2QfOwfu+i Reqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="d/tdIuoP"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t32-20020a634620000000b0045d8554a062si9450831pga.56.2022.10.16.10.36.33; Sun, 16 Oct 2022 10:36:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="d/tdIuoP"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S229944AbiJPRbu (ORCPT + 63 others); Sun, 16 Oct 2022 13:31:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbiJPRbt (ORCPT ); Sun, 16 Oct 2022 13:31:49 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235CF10063 for ; Sun, 16 Oct 2022 10:31:48 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id l22so13099057edj.5 for ; Sun, 16 Oct 2022 10:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UG4hwCy9957FxOMAsK0JOwX3APF9qYW+A1+dDCADRY0=; b=d/tdIuoPIgi9HBBYlj4DcprTerbS/KIp99zpSotcvh4CRKJ7aExtVLtKNmNXBMhQib mlP6SPnFiyHKottFBaB6LBaw1ZCS9uJ2/tNscKHaNAFMZMEe/GaL0oY5Z9/aohCW78pg CdEkSTThrxXV0GG0dW4HgFuyedOWRrOBHJBRrSRJeRlAtN5IwPJ1F+9M08ZCvIOSDE88 hmTAtdBh3fZA/oCagUJJ0qPsa76NbhFX5fmRVDVE1Hp4h24V8uQ2u1gxKLD+3w+Tqa9p 56EgPlMb5Gr5ZYu52Zty6aQ22DzMx5dLSGPYxVtrxDmYHbRwDpFUz3vZm6VQ2kwyu0iU Mc3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UG4hwCy9957FxOMAsK0JOwX3APF9qYW+A1+dDCADRY0=; b=IjHnVvuUNqrNhS4Yuwb9t/nvzQqobXSfCR5FaU9YsJgd9mcJ2AZJQOjclYHuZnMq31 sMsSaaau0RIe0Ea4quMS1/wGS7+r/7gOduE4INrPA/r5IKG7SM7cI4Sj0aSnCsfazhxj b7NbRQ5xv4yCtUKyH7f3UOMrXqoCKSwJ+k3jl+RaLK+5AibuGYkjaistlocYxbDYtEkQ yi/+kGk5hQ8RduO1aSrW0DhoHxZbeQT/6x8qrY4ZzeIjDUQv3h7rPkqybPlyel15UOvJ fV+sWPPIodMuJMAEFV06gmqcuQC8o+mtxlcl7eI2IHi/ey9RPMuXm3P3uOVjrTS0nwVz YhbA== X-Gm-Message-State: ACrzQf3/dz4g0wXsPRKXyMgRN6QYejYbWLG0qUR0SGLb5Fx+pm/ztBaA AXWHmWBH2/RPP3a890pxSD95SgU9/QQ= X-Received: by 2002:aa7:dd45:0:b0:458:7474:1fbe with SMTP id o5-20020aa7dd45000000b0045874741fbemr6936825edw.334.1665941506691; Sun, 16 Oct 2022 10:31:46 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.23]) by smtp.gmail.com with ESMTPSA id u20-20020a17090626d400b0078907275a44sm4900501ejc.42.2022.10.16.10.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Oct 2022 10:31:46 -0700 (PDT) Message-ID: Date: Sun, 16 Oct 2022 20:31:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: [PATCH 5/5] wifi: rtl8xxxu: Use dev_info instead of pr_info Content-Language: en-US From: Bitterblue Smith To: linux-wireless@vger.kernel.org Cc: Jes Sorensen References: <2b29b6d9-c17e-76d6-c32f-630f24b407b7@gmail.com> In-Reply-To: <2b29b6d9-c17e-76d6-c32f-630f24b407b7@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Replace two instances of bare pr_info with dev_info. Also make their messages a little more informative. Signed-off-by: Bitterblue Smith --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index 33169b836f2c..fe3316b4f16f 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -2016,7 +2016,8 @@ static int rtl8xxxu_download_firmware(struct rtl8xxxu_priv *priv) val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL); if (val8 & MCU_FW_RAM_SEL) { - pr_info("do the RAM reset\n"); + dev_info(&priv->udev->dev, + "Firmware is already running, resetting the MCU.\n"); rtl8xxxu_write8(priv, REG_MCU_FW_DL, 0x00); priv->fops->reset_8051(priv); } @@ -5424,7 +5425,8 @@ static void rtl8xxxu_rx_urb_work(struct work_struct *work) rtl8xxxu_queue_rx_urb(priv, rx_urb); break; default: - pr_info("failed to requeue urb %i\n", ret); + dev_info(&priv->udev->dev, + "failed to requeue urb with error %i\n", ret); skb = (struct sk_buff *)rx_urb->urb.context; dev_kfree_skb(skb); usb_free_urb(&rx_urb->urb); -- 2.38.0