Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp721043ybt; Fri, 26 Jun 2020 09:56:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeG0J9n4jVw5LtgKkJWMQ8xbi8Y4A0zcurYdQD01IMuSJfgL4ZjitnGkZ9Z+hzxLUeHZqC X-Received: by 2002:a50:ab52:: with SMTP id t18mr4372828edc.195.1593190601428; Fri, 26 Jun 2020 09:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593190601; cv=none; d=google.com; s=arc-20160816; b=EyU/QgYUlpr+LRMZrqZkVq3ABweagZJDaQGGNXuWFI38AKijjSOEytkLgrXOthcnNL 289YmrXArF5x7vykz83Ddqtm+fTubeT7ArmUsLYv50z1aHEgiIFC3Fw2sy/uZuPzZ8f/ FL3yXyinAzaaznKwTjYYFPpWZtuxMgssfSD/NAm9sU6Ez4cEiGT/voS627fDOuvgYm5r +eaQJ+qrXlOQi5gfmm0bzi9QOb6bBTxVMm7ouI6v2Era+QmeFLqo+NINTNn09XIx0ssV Qjqaucq4xeCKUk7n5Fatzx1OhtmrEEZpVYJDp8gQgJCX43zoGPazodSY3sFlat6s6FrS XeNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o2Ikny20NfFg5ztOT9jAikHgTETSs1qvvd29P7rUpwk=; b=b0mfjfiDbFe/4yuAnm7cTLvUjsnilwSwXemhJm+JwQgWEbfLYRgqwRihPR+qgi1lZ4 R6KbDbQVfr9fdzbZP/q7yDD86EQUu8F5otFe4puE6tSMMVEkBgKc1HQYDRm+1sMmFEiR 1XZ8eiojGCNVFRuDC6CtnKGrZeA3srVnH2uqvXJ3cWPye3o3w99bb5W3GMdJH2EDDZ+k LrSawzOm3uv+79/aXhTCWVsXELAn4lnVtR94zN/kBb0I6sN1wK6DUK/7c4v3Sstk/DxW yU1ypl3HDDcOIiEwnzND1tYiQVvmlBZ5xByRVM27qslRVZ5RVU1XmKPwnp0VCxoze6LV +E1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KctYodQa; 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 y18si16665953ejc.318.2020.06.26.09.56.18; Fri, 26 Jun 2020 09:56:41 -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=KctYodQa; 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 S1729545AbgFZPi3 (ORCPT + 99 others); Fri, 26 Jun 2020 11:38:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgFZPi2 (ORCPT ); Fri, 26 Jun 2020 11:38:28 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EAEBC03E979 for ; Fri, 26 Jun 2020 08:38:28 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id d27so7772243qtg.4 for ; Fri, 26 Jun 2020 08:38:28 -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=o2Ikny20NfFg5ztOT9jAikHgTETSs1qvvd29P7rUpwk=; b=KctYodQaUev1ai4UhpD8v7HeRQ1nE5DkSA/YHk67OSvh1IkDnPE7ajWn/DAeNHOGCF fyzEJcP+tALrgcJ1i87NF9E0p320bHQWVwdwErj8didSW50bdbm6bk9VSLoMsfYQJrOP yQOjSoYsuW7crDXe2CIJfb/V2TEWMfH0Tih4SBB0XeMjjx5pfjC4FFYtCMA5yzUOq2S2 b6vSyNV3mg1pziGKybKV/Kyeu25pb6IS5gNGx2rT13Hl2hb3Ng6QSRldjAM8GFjoFr/3 CE0dg6Dq+JETFSiYejiDyC+/BfnXGL+bQ1OZWugOTHU9Bk1CWsZ8r0FgWEcB/4ILHG4R KXYQ== 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=o2Ikny20NfFg5ztOT9jAikHgTETSs1qvvd29P7rUpwk=; b=KjWAd1bqFqGV/bTonBCbnuRj6L/QSibMSiuM9evrJYNFUrin7XrTbFPq6zDdTPSPRC 8pp7KOfeRXfYNp59pPsIF/CCEsvokrCDW6XJDyuWKO4d8CLwCUJw7Tx7YPq0AbxtFlqk xyyhfuNOTn2776oWvD02rerCHRpyih5q3spk9m3YcTmwEVT/evJzD2KgWgHDE7Nd1C7U SCYaJdIq9bQ4ZOqAhOatTSw4fsoSyO1pHOiiPueFWllYIFO6LTeTFv5/PGYa+fdm/UNX w1zLHAloNx9/MJ1NIwEjBq9+3PBpmPYXHmv9LbJ0EHRKd2rH3uk30VBG/ojLBuARtSPR LyEw== X-Gm-Message-State: AOAM533mFSKDYve6jlQdDE+qhHlIJspc3PIIgiE7TK/NZQ8a+2G+BsTP HZLnRFP5HsvQosw19VCf6So= X-Received: by 2002:ac8:6746:: with SMTP id n6mr3421897qtp.307.1593185907777; Fri, 26 Jun 2020 08:38:27 -0700 (PDT) Received: from mooncell.myfiosgateway.com (pool-173-75-208-99.phlapa.fios.verizon.net. [173.75.208.99]) by smtp.gmail.com with ESMTPSA id y40sm9719918qtc.29.2020.06.26.08.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 08:38:27 -0700 (PDT) From: Brooke Basile To: Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, straube.linux@gmail.com, colin.king@canonical.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Brooke Basile Subject: [PATCH 4/4] staging: rtl8188eu: Replace function name with __func__ Date: Fri, 26 Jun 2020 11:36:42 -0400 Message-Id: <20200626153639.8097-4-brookebasile@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200626153639.8097-3-brookebasile@gmail.com> References: <20200626153639.8097-1-brookebasile@gmail.com> <20200626153639.8097-2-brookebasile@gmail.com> <20200626153639.8097-3-brookebasile@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following checkpatch warning: WARNING: Prefer using '"%s...", __func__' to using 'rtw_get_bcn_info', this function's name, in a string Signed-off-by: Brooke Basile --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index bf6b2fe9735f..0c43c0dcf95c 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c @@ -986,10 +986,10 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork) if (bencrypt) pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_WEP; } - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n", - pnetwork->BcnInfo.encryp_protocol)); - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n", - pnetwork->BcnInfo.encryp_protocol)); + RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n", + __func__, pnetwork->BcnInfo.encryp_protocol)); + RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n", + __func__, pnetwork->BcnInfo.encryp_protocol)); rtw_get_cipher_info(pnetwork); /* get bwmode and ch_offset */ -- 2.27.0