[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110106121853.016fb990.akpm@linux-foundation.org>
Date: Thu, 6 Jan 2011 12:18:53 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Viresh Kumar <viresh.kumar@...com>
Cc: <linux-kernel@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Pratyush Anand <pratyush.anand@...com>
Subject: Re: [PATCH V2] ST SPEAr: PCIE gadget suppport
On Thu, 6 Jan 2011 17:29:10 +0530
Viresh Kumar <viresh.kumar@...com> wrote:
> From: Pratyush Anand <pratyush.anand@...com>
>
> This is a configurable gadget. can be configured by sysfs interface. Any
> IP available at PCIE bus can be programmed to be used by host
> controller.It supoorts both INTX and MSI.
> By default, gadget is configured for INTX and SYSRAM1 is mapped to BAR0
> with size 0x1000
>
> ...
>
> --- /dev/null
> +++ b/Documentation/misc-devices/spear-pcie-gadget.txt
Please recheck this documentation file - it contains a number of simple
typos.
>
> ...
>
> + if (strict_strtoul(buf, 0, &config->requested_msi))
> + return -EINVAL;
It doesn't matter much, but the code really should propagate the
strict_strtoul() return error code back to the caller, rather than
overwriting it with -EINVAL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists