* [PATCH] pcmcia: xirc2ps_cs bugfix
@ 2010-08-13 18:56 Dominik Brodowski
2010-08-13 23:48 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Brodowski @ 2010-08-13 18:56 UTC (permalink / raw)
To: Linus Torvalds; +Cc: netdev, Komuro
Linus,
could you apply the attached bugfix for PCMCIA, please? Alternatively,
please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git master
where this one patch is located. What do you prefer, actually, if it is just
one patch I want to push to you?
Thanks & best,
Dominik
---
From: Dominik Brodowski <linux@dominikbrodowski.net>
Date: Fri, 13 Aug 2010 20:33:34 +0200
Subject: [PATCH] pcmcia: xirc2ps_cs bugfix
We need to set io_lines to 10 unconditionally.
Reported-by: Komuro <komurojun-mbn@nifty.com>
CC: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index 4eb6f98..f581952 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -808,6 +808,7 @@ xirc2ps_config(struct pcmcia_device * link)
}
link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;
+ link->io_lines = 10;
if (local->modem) {
int pass;
@@ -839,7 +840,6 @@ xirc2ps_config(struct pcmcia_device * link)
}
printk(KNOT_XIRC "no ports available\n");
} else {
- link->io_lines = 10;
link->resource[0]->end = 16;
for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) {
link->resource[0]->start = ioaddr;
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] pcmcia: xirc2ps_cs bugfix
2010-08-13 18:56 [PATCH] pcmcia: xirc2ps_cs bugfix Dominik Brodowski
@ 2010-08-13 23:48 ` Linus Torvalds
0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2010-08-13 23:48 UTC (permalink / raw)
To: Dominik Brodowski; +Cc: Linus Torvalds, netdev, Komuro
On Fri, 13 Aug 2010, Dominik Brodowski wrote:
>
> could you apply the attached bugfix for PCMCIA, please? Alternatively,
> please pull from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git master
>
> where this one patch is located. What do you prefer, actually, if it is just
> one patch I want to push to you?
Doesn't really matter. These days, my workflow is so git-centric that a
simple "git pull" is a tiny simpler just because it's what I do day in and
day out, and doesn't involve exporting a patch and applying it - but the
difference is really so small that it matters not at all. And applying the
patch as a patch avoids a sily merge for a trivial change.
So it really can go both ways. I'll take the patch this time, because I
happened to be in my "gather up patches" mode (which in turn is mostly
because your subject said "PATCH" rather than "GIT PULL" - I had ignored
the email while in my "git pull" phase). Which just goes to show how
little I care, and how small details make me do one over the other.
So I think you should just base it on how convenient it is for you.
But if you have even just two patches, I probably prefer a "git pull".
But again, it's not a big deal.
Linus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-13 23:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 18:56 [PATCH] pcmcia: xirc2ps_cs bugfix Dominik Brodowski
2010-08-13 23:48 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox