From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Othman, Ossama" <ossama.othman@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Moorestown RAR Handler driver, MRST 2.6.31-rc3
Date: Mon, 3 Aug 2009 19:31:31 +0100 [thread overview]
Message-ID: <20090803193131.7b25e6c1@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <A5FE05C4C76E4C4CAB15D9962B96FC950C7957A872@orsmsx510.amr.corp.intel.com>
> This guideline doesn't appear in Documentation/CodingStyle. Should it?
Possibly - the thing is there are several cases where its used
deliberately the other way around.
>> >> + struct memrar_allocator *allocator = 0;
> >
> >It is recommended to separate definition,
> >and assignment.
> >So this should look like this:
> >
> > struct memrar_allocator *allocator;
> >
> > allocator = 0;
>
> Okay, I'll fix that, too. Should this go into Documentation/CodingStyle, too?
This is nonsense to put it politely. It's a pointer so it should be =
NULL but the formatting is just fine. It's not in the coding style
because its bunkum 8)
Alan
next prev parent reply other threads:[~2009-08-03 18:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 23:20 Ossama Othman
2009-08-01 7:30 ` Sam Ravnborg
2009-08-01 8:03 ` Joe Perches
2009-08-03 17:35 ` Othman, Ossama
2009-08-03 17:32 ` Othman, Ossama
2009-08-03 17:45 ` Joe Perches
2009-08-03 17:53 ` Othman, Ossama
2009-08-03 18:31 ` Alan Cox [this message]
2009-08-07 18:07 ` Pavel Machek
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=20090803193131.7b25e6c1@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=ossama.othman@intel.com \
/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
all inboxes | Powered by JetHome®