linux-newbie.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pankaj Jangra <jangra.pankaj9@gmail.com>
To: Harsh Kumar <harsh1kumar@gmail.com>
Cc: "linux-newbie@vger.kernel.org" <linux-newbie@vger.kernel.org>
Subject: Re: severeCamelCaseInfestation
Date: Sun, 7 Jul 2013 11:26:32 -0700	[thread overview]
Message-ID: <CADTbHxpZPwoUje=hxBddxEE61zhbAMDi=bJ1Y+WHfnS_RvXRbg@mail.gmail.com> (raw)
In-Reply-To: <51AD7ACD.90900@gmail.com>

Hi Harsh,

On Mon, Jun 3, 2013 at 10:27 PM, Harsh Kumar <harsh1kumar@gmail.com> wrote:
> Hi,
>
> 1.) What is the naming convention/style for linux kernel? Is camel case not allowed & only snake case is allowed?
>
> I found a TODO in drivers/staging/winbond/TODO which says - fix severeCamelCaseInfestation
>
> 2.) If only snake case is to be used, are there any other stipulations (like starting a type of variable name with underscore) ?
>
> 3.) I have read Documentation/CodingStyle. Is there any other document on this?
>
This document is sufficient in my opinion. Also you can check your
changes with scripts/checkpatch.pl. This scripts will also help you to
learn more.

Regards,
Pankaj Jangra
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

           reply	other threads:[~2013-07-07 18:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <51AD7ACD.90900@gmail.com>]

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='CADTbHxpZPwoUje=hxBddxEE61zhbAMDi=bJ1Y+WHfnS_RvXRbg@mail.gmail.com' \
    --to=jangra.pankaj9@gmail.com \
    --cc=harsh1kumar@gmail.com \
    --cc=linux-newbie@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).