From: Greg KH <gregkh@linuxfoundation.org>
To: "Laurent Navet [Mali]" <laurent.navet@gmail.com>
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: line6: Fix checkpatch.pl switch - case issue
Date: Thu, 29 Nov 2012 18:08:48 -0800 [thread overview]
Message-ID: <20121130020848.GA2056@kroah.com> (raw)
In-Reply-To: <1354188082-2655-1-git-send-email-laurent.navet@gmail.com>
On Thu, Nov 29, 2012 at 12:21:22PM +0100, Laurent Navet [Mali] wrote:
> From: "Laurent Navet [Mali]" <laurent.navet@gmail.com>
>
> delete old commentted code to avoid this checkpatch error :
> line6/pcm.c:423: ERROR: switch and case should be at the same indent
>
> Signed-off-by: Laurent Navet [Mali] <laurent.navet@gmail.com>
What is the [Mali] thing for?
> ---
> drivers/staging/line6/pcm.c | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6/pcm.c
> index 6c1e313..a0ce781 100644
> --- a/drivers/staging/line6/pcm.c
> +++ b/drivers/staging/line6/pcm.c
> @@ -455,14 +455,6 @@ int line6_init_pcm(struct usb_line6 *line6,
> ep_write = 0x01;
> break;
>
> - /* this is for interface_number == 1:
> - case LINE6_DEVID_TONEPORT_UX2:
> - case LINE6_DEVID_PODSTUDIO_UX2:
> - ep_read = 0x87;
> - ep_write = 0x00;
> - break;
> - */
Why not properly indent it to keep the comment around instead?
thanks,
greg k-h
next prev parent reply other threads:[~2012-11-30 2:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 11:21 [PATCH] staging: line6: Fix checkpatch.pl switch - case issue Laurent Navet [Mali]
2012-11-30 2:08 ` Greg KH [this message]
[not found] ` <CAH7P7NhO1Qg=g7VKOFcO5jCQc+u5CPoH9L-y2S=q3BtMFYghkQ@mail.gmail.com>
[not found] ` <20121130144823.GA1985@kroah.com>
2012-11-30 20:36 ` Laurent Navet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121130020848.GA2056@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=devel@driverdev.osuosl.org \
--cc=laurent.navet@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.