Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1622854imm; Fri, 15 Jun 2018 23:03:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJwGGzWJGwp00gRm8KS4wwe/wQvc/fYMWGR1B4L4D6ZsONS43g/l8KCCHRSjkOtgeqCaFE8 X-Received: by 2002:a63:7419:: with SMTP id p25-v6mr4326799pgc.24.1529129038515; Fri, 15 Jun 2018 23:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529129038; cv=none; d=google.com; s=arc-20160816; b=UPAZruStqt4q9Iv9KhiYbaMrOG38ODkm95Jwt6vDLm0zdxZIWEDxzgGjHOTyDZS9X2 cWdd23pQt5ujix0CmqCbkLtVKyamUL3dxxCGgZrAsuW50xrXdqay4fw2qZWabFzwxoT+ Btd+dsbbiVGKRvd/quVUjJodnSN5gfO8D+TbKj9ltyWQfCk7pbAWaqtEu4jQfx6cfBNN ZttDJAuoY1gVRKAUsHqM9SXTkLVkWdxe5dV9JnV8sG93ntRUGZxChnSuLI1Th7KNGr2F i+7nEQulVG7E0hwE/TXmXdN3TeB3vhXwfiYqpj6MHuEwJb4fwqLrBVSqKwoDbeUUvz4m UNVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=MvO0WtYbIfapnPjr+9LIRxEL+yq4tW79VGUJD8zanLI=; b=TZlngBGNG1Mp0aucB1af5pX00x6glMyiPCcjogdBOUdVS79zwCydMm3sQTlb6UBCYh 38oXdFFejTiJ0R52Re4PksjIcNBTM/inVq8U8SBqjKpETmCh3hRU+1QkwCVeJPk7tK96 7gJXcnV1WTYc4l6rplYwMdpmikjzNOvIlvF8tjFkPo/1l+5kLsZYUTbBwIjeg5a05o88 b267RkUy72mx3qC4e0wI+d65vfk0fSdnLvE53I2s/e5KBeOD6rGKByWq8AjEpHLISDoU EALJRH3DSMC293BR+m0w081CGoBbtDbWrsiDI5JyV6Dmmd3ZruK6fBl1unU0dOz0gfVY B6ng== 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 2-v6si9403082pfj.6.2018.06.15.23.03.43; Fri, 15 Jun 2018 23:03:58 -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 S1756833AbeFPGDR (ORCPT + 99 others); Sat, 16 Jun 2018 02:03:17 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:38801 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbeFPGDQ (ORCPT ); Sat, 16 Jun 2018 02:03:16 -0400 X-IronPort-AV: E=Sophos;i="5.51,229,1526335200"; d="scan'208";a="332048613" Received: from abo-154-110-68.mrs.modulonet.fr (HELO [192.168.0.15]) ([85.68.110.154]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jun 2018 08:03:14 +0200 Date: Sat, 16 Jun 2018 08:03:14 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Hyunil Kim cc: gregkh@linuxfoundation.org, davem@davemloft.net, colin.king@canonical.com, johannes.berg@intel.com, Linyu.Yuan@alcatel-sbell.com.cn, keescook@chromium.org, tvboxspy@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192u: fix line over 80 characters In-Reply-To: <1909265.MoDodiKBI3@os-virtualbox> Message-ID: References: <1909265.MoDodiKBI3@os-virtualbox> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 16 Jun 2018, Hyunil Kim wrote: > *fix checkpatch.pl warnings: > WARNING: line over 80 characters Describe what you do and why, rather than just saying "Fix". Often something can be fixed in multiple ways. julia > > Signed-off-by: Hyunil Kim > --- > drivers/staging/rtl8192u/r8192U_core.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c > index 74c5865..2111e01 100644 > --- a/drivers/staging/rtl8192u/r8192U_core.c > +++ b/drivers/staging/rtl8192u/r8192U_core.c > @@ -2044,7 +2044,10 @@ static bool GetNmodeSupportBySecCfg8192(struct net_device *dev) > return false; > } else if ((wpa_ie_len != 0)) { > /* parse pairwise key type */ > - if (((ieee->wpa_ie[0] == 0xdd) && (!memcmp(&(ieee->wpa_ie[14]), ccmp_ie, 4))) || ((ieee->wpa_ie[0] == 0x30) && (!memcmp(&ieee->wpa_ie[10], ccmp_rsn_ie, 4)))) > + if (((ieee->wpa_ie[0] == 0xdd) && > + (!memcmp(&(ieee->wpa_ie[14]), ccmp_ie, 4))) || > + ((ieee->wpa_ie[0] == 0x30) && > + (!memcmp(&ieee->wpa_ie[10], ccmp_rsn_ie, 4)))) > return true; > else > return false; > -- > 2.7.4 > > > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >