From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbbG1PhZ (ORCPT ); Tue, 28 Jul 2015 11:37:25 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38379 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886AbbG1PhY (ORCPT ); Tue, 28 Jul 2015 11:37:24 -0400 X-IronPort-AV: E=Sophos;i="5.15,563,1432591200"; d="scan'208";a="141405959" Date: Tue, 28 Jul 2015 17:37:16 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joshua Clayton cc: Larry Finger , Florian Schilhabel , Greg Kroah-Hartman , Sudip Mukherjee , Nitin Kuppelur , Dan Carpenter , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > index 83d4bca..1ded691 100644 > --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > @@ -204,13 +204,13 @@ static inline char *translate_scan(struct _adapter *padapter, > /* Add the protocol name */ > iwe.cmd = SIOCGIWNAME; > if ((r8712_is_cckratesonly_included(pnetwork->network. > - SupportedRates)) == true) { > + rates)) == true) { > if (ht_cap == true) > snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); > else > snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); > } else if ((r8712_is_cckrates_included(pnetwork->network. > - SupportedRates)) == true) { > + rates)) == true) { > if (ht_cap == true) > snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); > else The placement of the line breaks here is partucularly unpleasant. Perhaps that could be adjusted now that the field name is shorter. Theer may be some other cases in the patch where the line breaks could be adjusted to improve readability. julia