2007-01-30 13:24:04

by Al Viro

[permalink] [raw]
Subject: [PATCH] pata_platform: fallout from set_mode() change


Signed-off-by: Al Viro <[email protected]>
---
drivers/ata/pata_platform.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 443b1d8..40ae11c 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -30,7 +30,7 @@ static int pio_mask = 1;
* Provide our own set_mode() as we don't want to change anything that has
* already been configured..
*/
-static void pata_platform_set_mode(struct ata_port *ap)
+static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unused)
{
int i;

@@ -44,6 +44,7 @@ static void pata_platform_set_mode(struct ata_port *ap)
dev->flags |= ATA_DFLAG_PIO;
}
}
+ return 0;
}

static void pata_platform_host_stop(struct ata_host *host)
--
1.5.0-rc2.GIT



2007-01-30 13:36:40

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] pata_platform: fallout from set_mode() change

Al Viro wrote:
> Signed-off-by: Al Viro <[email protected]>

This is already in the queue via Andrew, who caught the same problem.

Sometimes it seems like you and Andrew are the only people to build on
non-x86 these days...

Jeff



2007-01-30 14:07:14

by Paul Mundt

[permalink] [raw]
Subject: Re: [PATCH] pata_platform: fallout from set_mode() change

On Tue, Jan 30, 2007 at 08:36:28AM -0500, Jeff Garzik wrote:
> Al Viro wrote:
> >Signed-off-by: Al Viro <[email protected]>
>
> This is already in the queue via Andrew, who caught the same problem.
>
> Sometimes it seems like you and Andrew are the only people to build on
> non-x86 these days...
>
This is the first I've heard of this or the changes that caused this,
while I do build current git on a pretty much daily basis, -mm doesn't
get nearly as much testing.

There are many people who build on non-x86 every day, there are rather
less people who have the bandwidth for -mm as well as current git or
for tracking down changes that haven't made it upstream to make sure
everything plays nice.

If you want immediate action, I suggest you CC the authors of the drivers
when there's changes they should be made aware of, rather than deferring
to hand-waving generalizations about how no one does any testing after
the fact.

2007-01-30 14:12:57

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] pata_platform: fallout from set_mode() change

Paul Mundt wrote:
> On Tue, Jan 30, 2007 at 08:36:28AM -0500, Jeff Garzik wrote:
>> Al Viro wrote:
>>> Signed-off-by: Al Viro <[email protected]>
>> This is already in the queue via Andrew, who caught the same problem.
>>
>> Sometimes it seems like you and Andrew are the only people to build on
>> non-x86 these days...
>>
> This is the first I've heard of this or the changes that caused this,
> while I do build current git on a pretty much daily basis, -mm doesn't
> get nearly as much testing.
>
> There are many people who build on non-x86 every day, there are rather
> less people who have the bandwidth for -mm as well as current git or
> for tracking down changes that haven't made it upstream to make sure
> everything plays nice.
>
> If you want immediate action, I suggest you CC the authors of the drivers
> when there's changes they should be made aware of, rather than deferring
> to hand-waving generalizations about how no one does any testing after
> the fact.

The change in question is in the current -git. But my comment was
largely self-critical, since /I/ applied the patch in question that
broke on non-x86.

Jeff



2007-01-30 16:02:44

by Alan

[permalink] [raw]
Subject: Re: [PATCH] pata_platform: fallout from set_mode() change

On Tue, 30 Jan 2007 13:23:45 +0000
Al Viro <[email protected]> wrote:

>
> Signed-off-by: Al Viro <[email protected]>


Already done by Andrew Morton but yes correct