public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: "Stanley.Miao" <stanley.miao@windriver.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 2/3] OMAP_LDP: Add Ethernet device support to make ldp boot succeess.
Date: Fri, 7 Nov 2008 17:55:10 +0200	[thread overview]
Message-ID: <20081107155450.GI21860@frodo> (raw)
In-Reply-To: <1226065287-3066-3-git-send-email-stanley.miao@windriver.com>

Hi,

On Fri, Nov 07, 2008 at 09:41:26PM +0800, Stanley.Miao wrote:
> Add Ethernet device support in board-ldp.c to make ldp can boot and mount nfs
> successfully.

Normally, defconfig changes come in a separate patch. Please split
defconfig out of this patch and fix these:

WARNING: suspect code indent for conditional statements
#292: FILE: arch/arm/mach-omap2/board-ldp.c:213:
+       if (gpmc_cs_request(eth_cs, SZ_16M, &cs_mem_base) < 0) {

ERROR: code indent should use tabs where possible
#293: FILE: arch/arm/mach-omap2/board-ldp.c:214:
+               printk(KERN_ERR "Failed to request GPMC mem for smc911x\n");$

ERROR: code indent should use tabs where possible
#294: FILE: arch/arm/mach-omap2/board-ldp.c:215:
+               return;$

WARNING: suspect code indent for conditional statements
#305: FILE: arch/arm/mach-omap2/board-ldp.c:226:
+       if (omap_request_gpio(eth_gpio) < 0) {

ERROR: code indent should use tabs where possible
#306: FILE: arch/arm/mach-omap2/board-ldp.c:227:
+               printk(KERN_ERR "Failed to request GPIO%d for smc911x IRQ\n",$

ERROR: code indent should use tabs where possible
#307: FILE: arch/arm/mach-omap2/board-ldp.c:228:
+                       eth_gpio);$

ERROR: code indent should use tabs where possible
#308: FILE: arch/arm/mach-omap2/board-ldp.c:229:
+               return;$

ERROR: code indent should use tabs where possible
#319: FILE: arch/arm/mach-omap2/board-ldp.c:240:
+        ldp_init_smc911x();$

-- 
balbi

  parent reply	other threads:[~2008-11-07 15:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 13:41 [PATCH 0/3] OMAP: Make OMAP LDP boot succussfuly Stanley.Miao
2008-11-07 13:41 ` [PATCH 1/3] OMAP: Update the search() interface of omap_hdq Stanley.Miao
2008-11-07 13:41   ` [PATCH 2/3] OMAP_LDP: Add Ethernet device support to make ldp boot succeess Stanley.Miao
2008-11-07 13:41     ` [PATCH 3/3] OMAP_LDP: Add keypad support on ZOOM SDK Stanley.Miao
2008-11-07 16:02       ` Felipe Balbi
2008-11-07 15:55     ` Felipe Balbi [this message]
2008-11-07 15:52   ` [PATCH 1/3] OMAP: Update the search() interface of omap_hdq Felipe Balbi
2008-11-07 15:53 ` [PATCH 0/3] OMAP: Make OMAP LDP boot succussfuly Felipe Balbi
2008-11-10 11:20   ` stanley.miao

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=20081107155450.GI21860@frodo \
    --to=me@felipebalbi.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=stanley.miao@windriver.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