[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121114143305.GH11515@mwanda>
Date: Wed, 14 Nov 2012 17:33:05 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Stefan Hajnoczi <stefanha@...il.com>
Cc: devel@...verdev.osuosl.org, line6linux-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, Daniel Mack <zonque@...il.com>,
Markus Grabner <grabner@....tugraz.at>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 1/8] staging: line6: wrap >80 char lines in capture.c
On Sun, Nov 11, 2012 at 01:24:39PM +0100, Stefan Hajnoczi wrote:
> Signed-off-by: Stefan Hajnoczi <stefanha@...il.com>
> ---
> drivers/staging/line6/capture.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c
> index c85c5b6..389c41f 100644
> --- a/drivers/staging/line6/capture.c
> +++ b/drivers/staging/line6/capture.c
> @@ -256,8 +256,8 @@ static void audio_in_callback(struct urb *urb)
> #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
> if (!(line6pcm->flags & LINE6_BITS_PCM_IMPULSE))
> #endif
> - if (test_bit(LINE6_INDEX_PCM_ALSA_CAPTURE_STREAM, &line6pcm->flags)
> - && (fsize > 0))
> + if (test_bit(LINE6_INDEX_PCM_ALSA_CAPTURE_STREAM,
The reason this is hitting the 80 character limit is because
"LINE6_INDEX_PCM_ALSA_CAPTURE_STREAM" is 35 characters long. It
isn't even clear from the name what it holds. It's just a very crap
name.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists