Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1127137ybt; Fri, 26 Jun 2020 22:22:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEn9gm8CGkz+jcUQmkBG7ocKI9cYQGw7VSFGbpwWJqNvFH/ulVMk2AkCqvOsTlwDpmxt3Q X-Received: by 2002:aa7:c989:: with SMTP id c9mr6740020edt.332.1593235373083; Fri, 26 Jun 2020 22:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593235373; cv=none; d=google.com; s=arc-20160816; b=UEXrwUmk159GePWB31xoI+vlNuHkD7FhA3vfqZCYPJ5aaoCScua2rntG8OMXHIW8P2 hLrOeUyfGXo3qoKUHdKOkdUgrD5rUJcXUaSPgiDAOFiHbzvs4mCZlAykudb++nNUKCl6 Dc9vRWsGfllBYEdGaUlg/bhnULsmN88jSt+Wjn5b7sa8LESFPIN3G9xUnBa29YOGgEIa HWkKg1xkTogQ9+fwsbBZSAvNp9JuojJIH8/NlvINN5N/1RqsQeByzSsU5kJwe22p3QKQ cQuzVCA0+PkEwRlzvhQ0ACmQ+NFJbQvCTRk5pPXhRireGnymSRdxIBEXWarsdxHnGYCv WcNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/u8WOUBkFkLlkBGbIp9lNX0hwjmexwdCudRGez2ACYA=; b=Mb9q1BEwu1b/4n20ff/hv6yE8rGYSBsjBUHsWsSk+QFX4fGX7U9Kash03+wo3CbER8 pDAeuBzJhFzEiDuuSD1JWPMaMDDCx3ML4R9bHd6VlvkdeH4SNmC2D1CQnrmyVUZt+Gy/ QOc86oCoT1fTMv/C2o/MU6upFH2fC/cQkGXqUxA2oPXxJVv1moaYy2g/mpbudR2hyXZr zYVrJuIwIKWYiNBRIHk3imYK5K/XBaO7t8E7HBHzRaurYgHB5ldqHuJUGmcBpu1bgHx4 mQTVKZiXoLtWScErFHvE74lbG84nGU0KD0XmOZ/dF5xwVlUjCuGRnO5E7yQD8z/aZofl N4Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q97K3rLm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si18127107edv.523.2020.06.26.22.22.29; Fri, 26 Jun 2020 22:22:53 -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=@kernel.org header.s=default header.b=q97K3rLm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725922AbgF0FVT (ORCPT + 99 others); Sat, 27 Jun 2020 01:21:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:41278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbgF0FVT (ORCPT ); Sat, 27 Jun 2020 01:21:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC7FB207FC; Sat, 27 Jun 2020 05:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593235278; bh=QBX0iOoDvH4E7eBeaNtyJFRNnTKPFd82DmfG3r/sihU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q97K3rLmsJ4CwVKEesmRcvRpSFXYqE1OqKOfWMJwmkB/bwwf/QOOTNoTWX7boGgRK gzn5buhTErjPIocgK4OAiXdi/+xsVF9ba7bY9IQxGVJKpuKRD5SP+CypB/Ratz8ajM XCgkIQ9suB7OCe5SXg0dfL61aqJWXiXajaQhQvjI= Date: Sat, 27 Jun 2020 07:21:15 +0200 From: Greg KH To: Brooke Basile Cc: Larry.Finger@lwfinger.net, straube.linux@gmail.com, colin.king@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] staging: rtl8188eu: Replace function name with __func__ Message-ID: <20200627052115.GA248307@kroah.com> References: <20200626153639.8097-1-brookebasile@gmail.com> <20200626153639.8097-2-brookebasile@gmail.com> <20200626153639.8097-3-brookebasile@gmail.com> <20200626153639.8097-4-brookebasile@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626153639.8097-4-brookebasile@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 11:36:42AM -0400, Brooke Basile wrote: > 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 */ This patch fails to apply to my latest branch, can you rebase it and resend if it is still needed? thanks, greg k-h