lkml.org 
[lkml]   [2015]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] Staging: rtl8192u: Coding Style Improvements
From
Thank you, I'll resubmit this with additional corrections to format strings.

On Sun, Feb 8, 2015 at 1:54 AM, Joe Perches <joe@perches.com> wrote:
> On Sun, 2015-02-08 at 01:49 -0800, Tolga Ceylan wrote:
>> Lines over 80 were corrected
> []
>> diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c
> []
>> @@ -37,43 +37,71 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth)
> []
>> + /* 8256 D-cut, E-cut, xiong: consider it later! */
>> + if (priv->card_8192_version == VERSION_819xU_A
>> + || priv->card_8192_version == VERSION_819xU_B) {
>
> This is more commonly written:
>
> if (priv->card_8192_version == VERSION_819xU_A ||
> priv->card_8192_version == VERSION_819xU_B) {
>
>


\
 
 \ /
  Last update: 2015-02-09 06:21    [W:0.032 / U:2.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site