Re: [PATCH] s390 - fix match in ccw modalias

Cornelia Huck
2006-03-06T07:46:41Z

On Mon, 6 Mar 2006 03:00:24 +0100
Bastian Blank <bastian@waldi.eu.org> wrote:

> diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
> index be97caf..c164b23 100644
> --- a/scripts/mod/file2alias.c
> +++ b/scripts/mod/file2alias.c
> @@ -246,7 +246,7 @@ static int do_ccw_entry(const char *file
> id->cu_model);
> ADD(alias, "dt", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE,
> id->dev_type);
> - ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE,
> + ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_MODEL,
> id->dev_model);
> return 1;
> }

Patch makes sense to me.

> Martin: can you please push them through for 2.6.16? It breaks automatic
> loading of any dasd module.

I don't know whether Martin is operational this week, but I'd second an
inclusion into 2.6.16.

Cornelia