Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2317024imu; Thu, 17 Jan 2019 12:02:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN7QFa9bCo+XwwzwwKmfqT4qckE+8hiHoqTTvU5MXsvBRPyayrBAHPxpKAuB24xEhvzdcbXP X-Received: by 2002:a17:902:1d4a:: with SMTP id u10mr15740566plu.122.1547755362878; Thu, 17 Jan 2019 12:02:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547755362; cv=none; d=google.com; s=arc-20160816; b=Ba+vToNojKt8IG6NpqyY7WKNia+N/JyBHuXmWXZu35rEaPCPXf5oaBdTJnX/dhndK0 Avw882b4PFn6w6bGjYI/WxQikDAdcbA5shaPLjW4liqnRA9tpKpARWluh3pLwI5DireW t+go0kZB+KWOi2wSWebLOJapfJGbHWS0d+6jH0hHs+X+JQ1yZIyWyVZ2xFIoHilKfeix 58HYnixWeArqf4GImvRHPuAkT4rObikenJ+h0HSIJfV9bj3khnm6zndIcxLxvzywQZO0 lQkStqOE/9IF8IgjjqA7yauNcXDhzCxUqeDrIPyr3HNO1XNGt2D3J5wA/PO1maGTfOL4 jSgg== 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=ynnvaYdvCibC62OimFXO6xjWC6EtFp/WjU838K+er7Y=; b=zq/r0d0iFGMYZEmLgndjs3vQJyH0tjeAKfg2MV5jzsnNm/z/mAm7ZiWpt222GT87uO AWwqdEN+HvpBTKkJcE7FzSJqy1Cu7ir/1PKk3SboyjvJy34U4+pohc59Z4EknEgVDbg0 SGNfHkS4e+gCoNYlAXOYymz7efK/OkTCobmsb2Xz4ypdHOMTdVwDLhtM5Dys7jp++JCf 4Jwwa3p6VfbM9aU9lQDnYFsjaL6zG6+PLToU50YD2wUQ5s58dXQH8Mdq5be9ROisDibA C6f7edaV08JJck9MUytiGqUGsR6R4uTdx5XYCJf6ZqPdfugf8eSVVGigHdzV76mTuiSo +zXw== 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 h7si2345983pls.326.2019.01.17.12.02.25; Thu, 17 Jan 2019 12:02:42 -0800 (PST) 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 S1729310AbfAQT7r (ORCPT + 99 others); Thu, 17 Jan 2019 14:59:47 -0500 Received: from smtprelay0098.hostedemail.com ([216.40.44.98]:56806 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728830AbfAQT7r (ORCPT ); Thu, 17 Jan 2019 14:59:47 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 5AC50100E86C0; Thu, 17 Jan 2019 19:59:45 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:196:355:379:599:800:960:967:968:973:982:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1622:1711:1730:1747:1777:1792:2393:2525:2560:2563:2682:2685:2743:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3834:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4384:5007:6119:7576:8599:8985:9025:9388:10004:10400:10848:11232:11657:11658:11852:11854:11855:11914:12043:12048:12050:12438:12555:12663:12740:12760:12895:13069:13161:13229:13311:13357:13439:13972:14096:14097:14180:14181:14659:14721:21067:21080:21433:21451:21611:21627:21740:30054:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 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: rose26_1abcde36c9943 X-Filterd-Recvd-Size: 2663 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Thu, 17 Jan 2019 19:59:43 +0000 (UTC) Message-ID: <23fbcc92e52dea477ea16f02cced239f4afcba9a.camel@perches.com> Subject: Re: [PATCH] rtlwifi: rtl818x: fix indentation issue From: Joe Perches To: Larry Finger , Colin King , Kalle Valo , "David S . Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Ping-Ke Shih Date: Thu, 17 Jan 2019 11:59:42 -0800 In-Reply-To: <284e7ef0-5820-021b-7b0c-2fc754440fe8@lwfinger.net> References: <20190117152859.6873-1-colin.king@canonical.com> <284e7ef0-5820-021b-7b0c-2fc754440fe8@lwfinger.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 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 Thu, 2019-01-17 at 13:33 -0600, Larry Finger wrote: > On 1/17/19 1:29 PM, Joe Perches wrote: > > On Thu, 2019-01-17 at 15:28 +0000, Colin King wrote: > > > From: Colin Ian King > > > > > > There is a statement that is indented too deeply. Fix this. > > > > Thanks. > > > > > diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c > > [] > > > @@ -803,7 +803,7 @@ static void rtl8180_config_cardbus(struct ieee80211_hw *dev) > > > rtl818x_iowrite16(priv, FEMR_SE, 0xffff); > > > } else { > > > reg16 = rtl818x_ioread16(priv, &priv->map->FEMR); > > > - reg16 |= (1 << 15) | (1 << 14) | (1 << 4); > > > + reg16 |= (1 << 15) | (1 << 14) | (1 << 4); > > > rtl818x_iowrite16(priv, &priv->map->FEMR, reg16); > > > } > > > > trivia: > > > > It sure looks as if there could be some rather useful > > conversions of magic bits to constants one day. > > How much work is warranted for this driver for a device that is not likely in > use anywhere in the wild? Hey Larry. Perhaps none. The part is from 2002 after all. But if it really is unused, it might be better to remove the whole driver and see if anyone notices. > In addition, I'm not sure anyone knows what those bits > actually do, I certainly do not have a product sheet for that one. It does look like this document http://realtek.info/pdf/rtl8180.pdf has a description on page 36. 6.33 FEMR: Function Event Mask Register