Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2924300pxb; Tue, 13 Apr 2021 13:50:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwePFrCCwx6orL9f8aZQ++wFKtcVtvLo7YxIu63MTN1GpcUtt7QWWdbSb3gwZaEefxP+XWZ X-Received: by 2002:a05:6402:441:: with SMTP id p1mr37052344edw.298.1618347021654; Tue, 13 Apr 2021 13:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618347021; cv=none; d=google.com; s=arc-20160816; b=xKhd8LsniqR7qzrUJP3kxZ1AGR7L55R3i5FillqBQA2ei6UwwYyuCeGFA0BGe1vmr5 lKMUoP3JH0RzA2q92Hmm1x4r+Dsb2hzV1gDzr4d3PdcTOT2ZRQJsRI61rVkYDiI3lI/n ApP+9nVv/NCKdguqZV3txpgJTOomj800plyPPC5y0vds0mK350gxDejkeBRc8W9BojV7 +xsw2MB36v10/GWM3yWxx1FwLpPkfS91qFDSlTvcFxywPI6SOc2bIjCv5DWtypf0DvNQ 3ruSPosFsoDo5zOvT9zQWCEg8SoMl+sf16mr0CXq2+ii4cfv15kDFv/xqutHAjFsRNIv KD0w== 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=fcNyffarNsOiVEVgcXOuYtMdvEd9IGl7N+PC1sh6FEc=; b=nH3Xx/d8PTXfg5PnqVOHWBICzy78aVmKmNWWN+0f3Qw7eGpYi6bz0a4C/iYRzjY4+/ S0hNfKdXTG6hXGSo7lKQPuhT229X7zhcOvIhknMBRkVM6c4PqV8FgeF6QB5scvuWvslp Lyy5SEo2Xz5bb6gaD8nK5SYpfpE3Ji8uhNDVGqehW5CxBWNBfOWUfZEM/R40szuw0AmT iep4kl88gquN1mtPasJ4BF/jfnBCwBt5ngPPv3kcR/5CLHCPbuoZr4SstCeeHSC4LLsN cFhZkXg+ygZPG9vFDH3sWMf8xGWo5vN6C+ttQDpkHUgtDUrj5BOQY/N9vKlhvDnDWy5J RmUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pm4POwMQ; 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 cy6si3457269edb.67.2021.04.13.13.49.46; Tue, 13 Apr 2021 13:50:21 -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=Pm4POwMQ; 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 S241478AbhDMO5D (ORCPT + 99 others); Tue, 13 Apr 2021 10:57:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238034AbhDMO5A (ORCPT ); Tue, 13 Apr 2021 10:57:00 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DA36C061756 for ; Tue, 13 Apr 2021 07:56:40 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id m9so4043235wrx.3 for ; Tue, 13 Apr 2021 07:56:40 -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=fcNyffarNsOiVEVgcXOuYtMdvEd9IGl7N+PC1sh6FEc=; b=Pm4POwMQ4Y6m5BACHfj/4VmvBLuQwj+n+4wNHczovv5QPTVCFmI7EUi9dPYGjLjXXX R14zaoGQ1p2jerCyHbXTpZSVx/M7qJ2X6yfndPerKryGppsi5ZA/3R8q/YudEHtMsKiM sf89lOQYsnVrkp01Sd8oGmrHNhY1k5MJEs4P5YawmqTb1FrbI7VY7jecNGCfG51TcAYv TpEa4w0xLR0h0s6VfW7Z4pt04WxdCN63oAqpaATA+3QQsqeDeW+fE5yF32rJyGOWYs38 Cy/J+JrtmbTHpPtB+3RpZLVx1jwlTuk6mVmJ5zkCiMQGHSUevSYdIZD5GHd0sL/UFIrj P8QA== 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=fcNyffarNsOiVEVgcXOuYtMdvEd9IGl7N+PC1sh6FEc=; b=Ja9AGFWRBXoe/RR45qF+6ohPpwK/HdqMUfPZfsg3pRainGEmr0RSLJqYYcru++IdWT fh9koqx0HLMiYVmFYDNOaR9J1fFHcJmLqBEldmS1TXmOQRqr9gQiaz+mcuTTOTotLUqy hHsI2yBUb1EyL3f7Oc6EGTRsPo6+a25hZfpIKaJNy+RVA4xytHcHImafPSSUlOOpPv7R v8QnC4D2awrkYcfaX6W05dWdRpaVyVBS6zzQsWVrgeVe+17DiHGobehBZbhrKpmKfczb 6sQmWI3ITt5HdBYg+mkDD73OVKAqeRS3CPYeL0aUHl2pwQO5y859Zymv7HcXb05+Aa7F yG2Q== X-Gm-Message-State: AOAM530pYfojrdwx/+TxPMlOJkHow98g3vlYV6fr/UxLvXmnGXAzNI0S 8yEfDYXIpoB5oW+rluJ29iGteCgT4MRGDQ== X-Received: by 2002:adf:e0d1:: with SMTP id m17mr37271782wri.90.1618325798766; Tue, 13 Apr 2021 07:56:38 -0700 (PDT) Received: from agape ([5.171.81.171]) by smtp.gmail.com with ESMTPSA id b6sm21770430wrv.12.2021.04.13.07.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 07:56:38 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: julia.lawall@inria.fr, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] staging: rtl8723bs: replace dump_drv_version() usage with netdev_dbg() Date: Tue, 13 Apr 2021 16:56:29 +0200 Message-Id: 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 dump_drv_version() usage with netdev_dbg(). There's no need to further wrap a netdev_dbg() call for such a low number of occurrences. The string printed is the same contained in DBG_871X_SEL_NL macro called inside dump_drv_version(). This is just preparation before bulk DBG_871X_SEL_NL macro replacement by coccinelle, as the semantic patch that will be used just replaces, doesn't remove. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index 332855103b14..98c9eb399ba7 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2590,7 +2590,7 @@ static int rtw_dbg_port(struct net_device *dev, break; case 0x10:/* driver version display */ - dump_drv_version(RTW_DBGDUMP); + netdev_dbg(dev, "%s %s\n", "rtl8723bs", DRIVERVERSION); break; case 0x11:/* dump linked status */ { -- 2.20.1