From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>,
linux-ide@vger.kernel.org,
davinci-linux-open-source@linux.davincidsp.com
Subject: Re: [PATCH v2] IDE: palm_bk3710: use ioremap instead of arch-specific IO_ADDRESS()
Date: Sun, 1 Feb 2009 17:03:42 +0100 [thread overview]
Message-ID: <200902011703.44080.bzolnier@gmail.com> (raw)
In-Reply-To: <49835D23.5040604@ru.mvista.com>
On Friday 30 January 2009, Sergei Shtylyov wrote:
> Kevin Hilman wrote:
>
> > Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
>
> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
applied
[ yay, this driver builds on x86 again :) ]
> > diff --git a/drivers/ide/palm_bk3710.c b/drivers/ide/palm_bk3710.c
> > index f38aac7..6196f76 100644
> > --- a/drivers/ide/palm_bk3710.c
> > +++ b/drivers/ide/palm_bk3710.c
> > @@ -347,7 +347,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
> > struct clk *clk;
> > struct resource *mem, *irq;
> > void __iomem *base;
> > - unsigned long rate;
> > + unsigned long rate, mem_size;
> > int i, rc;
> > hw_regs_t hw, *hws[] = { &hw, NULL, NULL, NULL };
> >
> > @@ -374,13 +374,19 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
> > return -ENODEV;
> > }
> >
> > - if (request_mem_region(mem->start, mem->end - mem->start + 1,
> > + mem_size = mem->end - mem->start + 1;
> > + if (request_mem_region(mem->start, mem_size,
> > "palm_bk3710") == NULL) {
>
> No point in keeping *if* occupying 2 lines, I think...
I fixed it while merging the patch.
prev parent reply other threads:[~2009-02-01 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 19:59 [PATCH v2] IDE: palm_bk3710: use ioremap instead of arch-specific IO_ADDRESS() Kevin Hilman
2009-01-30 20:03 ` Sergei Shtylyov
2009-02-01 16:03 ` Bartlomiej Zolnierkiewicz [this message]
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=200902011703.44080.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-ide@vger.kernel.org \
--cc=sshtylyov@ru.mvista.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;
as well as URLs for NNTP newsgroup(s).