From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F40AC433ED for ; Tue, 27 Apr 2021 11:07:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D113F613D8 for ; Tue, 27 Apr 2021 11:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235682AbhD0LI0 (ORCPT ); Tue, 27 Apr 2021 07:08:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:55052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235583AbhD0LIS (ORCPT ); Tue, 27 Apr 2021 07:08:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D2870613BD; Tue, 27 Apr 2021 11:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619521586; bh=3JPNz4QHvRgaT51rdG6M27l4WPls5bAceUeZJjjnBPE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ab5vCK9D+ZsU5FLMMOj3qRzZq/mkMGsgyw9ZpNNpPLhd1AiBZLqBcmNumHuUUSVAD SAu9oRf0wjQDfw2/MG0drcmBJdrzSESZK9R+qR7hfy0oo7/vV9dDfH9ij4+/RVb9xF 6PccCR7OZoOk5nuGOrYuOPRAOFIqTrHhSuIxyAGw= Date: Tue, 27 Apr 2021 13:06:23 +0200 From: Greg KH To: Fabio Aiuto Cc: joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/50] staging: rtl8723bs: remove all remaining debug macros in rtw_debug.h Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 24, 2021 at 11:01:43AM +0200, Fabio Aiuto wrote: > This patchset removes all remaining debug macros in rtw_debug.h > > DBG_871X_SEL macro is replaced with netdev_dbg() for it does > a raw printk call which is not best recommended for a driver. > > @@ > expression sel; > expression list args; > identifier padapter; > identifier func; > @@ > > func(..., struct adapter *padapter, ...) { > <... > - DBG_871X_SEL(sel, args); > + netdev_dbg(padapter->pnetdev, args); > ...> > > unused _DBG_871X_LEVEL macro declaration is removed. > > Beautified register dump in core/rtw_debug.c > > Some code cleaning is done and all other private component tracing > macros are removed. Nice work, thanks for doing all of this! Now queued up for 5.14-rc1. greg k-h