public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Keenan <tank.en.mate@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Robert Hancock <hancockr@shaw.ca>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources
Date: Wed, 30 May 2007 09:41:46 +0100	[thread overview]
Message-ID: <465D38CA.5050805@gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.98.0705292125511.26602@woody.linux-foundation.org>

Linus Torvalds wrote:
> On Tue, 29 May 2007, Robert Hancock wrote:
>   
>> This path adds validation of the MMCONFIG table against the ACPI reserved
>> motherboard resources.
>>     
>
> Please fix the formatting of your code.
>
>   
[snip snip]
> Same goes for this thing:
>
> +                       if((pci_probe & PCI_PROBE_CONF1) &&
> +                          e820_all_mapped(cfg->address,
> +                                          cfg->address + size - 1,
> +                                          E820_RESERVED))
> +                               printk(KERN_NOTICE "PCI: MCFG area at %Lx reserved in E820\n",
> +                                       cfg->address);
> +                       else
> +                               goto reject;
>
> there really is *not* a highly coveted prize for having the most different 
> indentation in the fewest possible lines of code!
>
>   

That looks like standard lisp style indenting (yes I realise that C != 
lisp).  At a guess I would say that code was written in emacs (which can 
be fixed by the necessary changes in your ~/.emacs). Grand parent post 
should check out these resources, they may help...

http://www.bloomington.in.us/~brutt/emacs-c-dev.html
http://lug.umbc.edu/tutorials/adv-emacs.html

or if you are really gung ho the CC-mode documentation

http://www.chemie.fu-berlin.de/chemnet/use/info/cc-mode/cc-mode_6.html

Matt

  reply	other threads:[~2007-05-30  8:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30  4:03 [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources Robert Hancock
2007-05-30  4:45 ` Linus Torvalds
2007-05-30  8:41   ` Matt Keenan [this message]
2007-05-30 14:35   ` Robert Hancock
2007-05-30 15:05     ` Linus Torvalds
2007-05-30 15:38       ` Mark Lord
2007-05-30 23:33         ` Robert Hancock
2007-05-30 17:23       ` Dave Jones
2007-05-30 17:37         ` Linus Torvalds
2007-05-30 17:54           ` Dave Jones
2007-05-30 17:40         ` Andrew Morton
2007-05-31  1:02       ` Robert Hancock
2007-06-04 12:12 ` Olivier Galibert
2007-06-04 14:35   ` Robert Hancock
2007-06-04 15:37   ` Jesse Barnes

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=465D38CA.5050805@gmail.com \
    --to=tank.en.mate@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=hancockr@shaw.ca \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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