Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1153482ybl; Wed, 28 Aug 2019 10:22:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzO9acLYL5/HW31sPZpeojD0+rL/cMlpiHVroDM5kCShHEt0PTCwWKcp/3U/FkEdyQD2r1K X-Received: by 2002:a63:3fc9:: with SMTP id m192mr4480232pga.429.1567012974256; Wed, 28 Aug 2019 10:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567012974; cv=none; d=google.com; s=arc-20160816; b=ARd5aZcm5hTyokEWKOj6mf9Jm75kLO9vlculUiZZZHcAsh3vBt3bhCaw89mkdA3RYE /1+WJG4qyslo3gVDq7seMayDDAHY67T9+ulurbMqRFe1/5hJdWutQn+Zh6DWYpm8jvO5 tF/i35NJu4yIAcMUOou8ZYJjGsUuIUQzLSc2iyo2VIPNhy71Xo7q1nZ6BdAW/JPoDFT2 /xojOUiLzYHdvYcBz8eVdbtANlkCavS4MREJ8VLwfZ5D7FiJ1XiUCivUCfaZQ8Ln1bty VgrmXwfEgn+4BMZjn/5J0QS88i2jRzJCn+CUh4+yMiWCwD/3iKOPHKG9Kpc7qcAt+Yn2 aXaA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=VuTKjTemTesntNWcLyeZMxfCX3YwOGU0QKRO2PWuqQ8=; b=jb5uf3PbD5kSn4ByV7CuM3fpMDOsLT5oYRcf9itOC5wtF3DgB2Z7yEUOXExEFxEt5y /V+8pQ+7Bsq0JVDAn+56Ne6oeko9RZNYj/ovRilBBH8rqqlSQltYzZIZNzK9Mv2lvrC0 mdcx4WB6cD7OPbk0zckmFEIg1yrw+GD19CvkQ1Mcv0dtJEv0LEDG3KH+4DPGdQ1Yvh2y 5J6XW6uRKRFbkH9aX7bS8CFpUX1ynP1uPSdKgm3fXHp1FCxRzshNedLl7SzmgZNFL13G IJLjfLNt9igATbRlcqz0T33Jm6zOA8rxg7yYl+DtleGVyRYLSTmdJ7d4bT733xmSvdf6 f3MA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si2264824plf.318.2019.08.28.10.22.38; Wed, 28 Aug 2019 10:22:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726763AbfH1RU2 (ORCPT + 99 others); Wed, 28 Aug 2019 13:20:28 -0400 Received: from smtprelay0184.hostedemail.com ([216.40.44.184]:50963 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726397AbfH1RU2 (ORCPT ); Wed, 28 Aug 2019 13:20:28 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 9762B180A812D; Wed, 28 Aug 2019 17:20:26 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:599:960:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1461:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2375:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3353:3622:3866:3867:3868:3872:3873:4250:4321:4605:4823:5007:7903:9149:10004:10400:10848:11026:11232:11473:11658:11914:12297:12438:12555:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21162:21451:21627:30054:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:29,LUA_SUMMARY:none X-HE-Tag: road64_7821b4d3ac041 X-Filterd-Recvd-Size: 2726 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Wed, 28 Aug 2019 17:20:25 +0000 (UTC) Message-ID: <6b17910acdb7259b16a65265e8a6a8bbcd6c86cd.camel@perches.com> Subject: Re: [PATCH v2 2/3] staging: rtl8192u: fix macro alignment in ieee80211 From: Joe Perches To: Stephen Brennan , Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, "Tobin C . Harding" Date: Wed, 28 Aug 2019 10:20:24 -0700 In-Reply-To: <20190821143540.4501-3-stephen@brennan.io> References: <20190821143540.4501-1-stephen@brennan.io> <20190821143540.4501-3-stephen@brennan.io> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-21 at 07:35 -0700, Stephen Brennan wrote: > Several macros display unaligned, due to mixes of tabs and spaces. These > can be fixed by making spacing consistent, do this. [] > @@ -452,18 +452,19 @@ do { if (ieee80211_debug_level & (level)) \ > printk(KERN_DEBUG "ieee80211: " fmt, ## args); } while (0) > //wb added to debug out data buf > //if you want print DATA buffer related BA, please set ieee80211_debug_level to DATA|BA > -#define IEEE80211_DEBUG_DATA(level, data, datalen) \ > - do { if ((ieee80211_debug_level & (level)) == (level)) \ > - { \ > - int i; \ > - u8 *pdata = (u8 *) data; \ > - printk(KERN_DEBUG "ieee80211: %s()\n", __func__); \ > - for (i = 0; i < (int)(datalen); i++) { \ > - printk("%2x ", pdata[i]); \ > - if ((i + 1) % 16 == 0) printk("\n"); \ > - } \ > - printk("\n"); \ > - } \ > +#define IEEE80211_DEBUG_DATA(level, data, datalen) \ > + do { if ((ieee80211_debug_level & (level)) == (level)) \ > + { \ > + int i; \ > + u8 *pdata = (u8 *) data; \ > + printk(KERN_DEBUG "ieee80211: %s()\n", __func__); \ > + for (i = 0; i < (int)(datalen); i++) { \ > + printk("%2x ", pdata[i]); \ > + if ((i + 1) % 16 == 0) \ > + printk("\n"); \ > + } \ > + printk("\n"); \ without pr_cont/KERN_CONT, this will output a terrible mess. It's probably better to use print_hex_dump_debug