Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp3125896ybh; Sat, 25 Jul 2020 11:50:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziLDF8JnvgFOLIROMClFwDqSQCfJ3LskFENnv7X8Z5IQCWineeryI3WiKXLTKkNP8tB02P X-Received: by 2002:aa7:d6cf:: with SMTP id x15mr14047465edr.164.1595703048608; Sat, 25 Jul 2020 11:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595703048; cv=none; d=google.com; s=arc-20160816; b=KBdOdjLQ+VtxXZgWTjkKu3ICCXn5KoHAYKHrBb7MtjUQ/UQjABACvzUdawtmQWUqry BjdK7TsuoOx8EOfb1chgieUbJhUCb0gqRLLs4Sfqg6WXvL9vXwfpCeQyFUZ5Spjq/oX5 9NdL1ckDv12vpZZoYIMixjoWXjmj+ipqGzukz6ADLBY+NYzu3btmTvgd+3w+kd0O//vd e0n16bLRNxfCe5QGbOwJz1ia9g3Xn/sVGK7vV8zPqCsED/utnTZeHYhwlOqxrgE1yojf h1AkWNgaK3PJJpRtqB6JrRUq4lh0D5c/XBVYHWjTjbgCOP3jS/0o0PEZOvTjywzfDcGz J7yQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=rMyb1gO3q+v65MaIVuTcYIle7Wdt4tjlApNFSHQMhoA=; b=jQer18bzEeIF9T6rUncALaL6Kl7YYiMGjpeN+YQM+EwbbQmRq7W2BwdSP4/ZwHlb/S NaXGwNQRp/po/DJSAmac6cfV3++CNbP6eU/65/4Q0QwhGVsNPI3GGIjQ6sqQiEPx2lO+ kkvWEYIrrfdOQHuHlAquqcXunqLvvXiXNQIr4Jks1oiPfRKtTgKCgFnQZcOKAP/PgJd/ wUflvCBYVhJdNpKfV4LC08AVTNPt0CFSlrk7EUwVf/TA1VbC3ZFO429lmBaC2u9fkTjE Pta/SmvrWdwwO5CWW0+ImJge6OxIfwJT/lZJeucoz2mOEMFzRuCMbHmPewp0bgEhYB8j BsOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=IeqhwkoA; 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 f18si2610118edw.95.2020.07.25.11.50.26; Sat, 25 Jul 2020 11:50:48 -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=fail header.i=@gmail.com header.s=20161025 header.b=IeqhwkoA; 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 S1727936AbgGYStW (ORCPT + 99 others); Sat, 25 Jul 2020 14:49:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbgGYStW (ORCPT ); Sat, 25 Jul 2020 14:49:22 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB208C08C5C0 for ; Sat, 25 Jul 2020 11:49:21 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id o72so3902389ota.11 for ; Sat, 25 Jul 2020 11:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rMyb1gO3q+v65MaIVuTcYIle7Wdt4tjlApNFSHQMhoA=; b=IeqhwkoAGMsuiqAFwxeyeJD1ArMD7DDh1kvr35hYkSEa7vAAo9Mkerlw9DBz548GNr bVbommZ44uBja6vI548WYNUw1Ej1QYdSa/P22PLFeltPACVePYpkYiMcMUrlQn32RRRs 7oyi42ibOJgz47MrzafTjWmy3YTDCYMI/TED6GK8T0VrN/JVM8Su+ZykPwimtuJTJkbA gMUKoEZBaAHPOkAe9lxda/858rkzDQFC4XgTs5+YPxkmpwpbnd/GCARSVHHnn1DLuVSz AqDR6uMAN4YzLkWREmRtyyg8LJ5JUXkVkrIoRDajGE0utbEbvT5OH8fIvERBgBc7Xme4 veDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rMyb1gO3q+v65MaIVuTcYIle7Wdt4tjlApNFSHQMhoA=; b=U+ZWZsTZ8aI8PRg4fFU/NYy03cOnvVYyjGi8/PuBIU+b4lWSqZIMIhXownJQmhnMDX m1nCi7qQkdSDipg37jtlPlMx5rJ7KeZQ32Glla+yW+PkiRl9SA6uH/PNLWCyzmHggs5x JCRH5dhQiMnITTFV6vET1HXbKvRmP2OIiGw7iEVHuWpeS5QYZc4TGxdITPBW+7N71pwq YMySv0WLnpEJCLQx/2CbVlFpELa8lRfHyQbZdHqlxzGUZoy3Nim1UyudhHzTjzn6JLmW UlLqP3PZC6fPAF4KTiFfK9EbIaqql0tb4yp0/hDVM7gpq+fKKhpzK7vOSjqbCYrxu9Ja jDsg== X-Gm-Message-State: AOAM531zbsbQoomZt0KHba8moW0IF+BFIN+S3lKGY2nNBp8Xslqu1CYL iGNOiTjfD8lK/fUkN+QjuKYzb2IJ X-Received: by 2002:a9d:5d2:: with SMTP id 76mr14224874otd.55.1595702961035; Sat, 25 Jul 2020 11:49:21 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id m24sm1646438oof.5.2020.07.25.11.49.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jul 2020 11:49:20 -0700 (PDT) Subject: Re: [PATCH 1/1] STAGING - REALTEK RTL8188EU DRIVERS: Fix Coding Style Error To: Joe Perches , Anant Thazhemadam Cc: Greg Kroah-Hartman , Anoop S , Michael Straube , Merwin Trever Ferrao , Rahul Gottipati , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20200725122041.5663-1-anant.thazhemadam@gmail.com> From: Larry Finger Message-ID: <18de15c4-1737-ae8b-b213-6f44792774be@lwfinger.net> Date: Sat, 25 Jul 2020 13:49:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/25/20 1:39 PM, Joe Perches wrote: > On Sat, 2020-07-25 at 12:47 -0500, Larry Finger wrote: >> On 7/25/20 7:20 AM, Anant Thazhemadam wrote: >>> Running the checkpatch.pl script on the file for which patch was created, the >>> following error was found to exist. >>> ERROR: space required after that ',' (ctx:VxV) >>> >>> Fixed the above error which was found on line #721 by inserting a blank >>> space at the appropriate position. > [] >>> diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c > [] >>> @@ -718,7 +718,7 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) >>> res = _FAIL; >>> } >>> } else { >>> - RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("%s: stainfo==NULL!!!\n",__func__)); >>> + RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("%s: stainfo==NULL!!!\n", __func__)); >>> res = _FAIL; >>> } >>> } >> >> In fixing one checkpatch.pl condition, you introduced another - the resulting >> line is too long. You should fix only one such condition, but you should fix any >> others that are introduced. You do need to document it. > > I think that doesn't matter as it was also too long > before this change. > >> Patch subjects for this driver should be written as "staging: rtl8188eu: .....". > > How likely is it that this driver would ever be > moved to drivers/net/wireless/realtek/rtlwifi? Very unlikely. It I wanted to undertake that kind of effort, I would switch to one of the later versions from Realtek that uses nl80211/cfg80211. Despite that, it is likely that only the USB driver from rtlwifi could be used. Larry