public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390 - fix match in ccw modalias
@ 2006-03-06  2:00 Bastian Blank
  2006-03-06  7:46 ` Cornelia Huck
  0 siblings, 1 reply; 3+ messages in thread
From: Bastian Blank @ 2006-03-06  2:00 UTC (permalink / raw)
  To: Martin Schwidefsky, akpm; +Cc: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]

Hi folks

The attached patch fixes matching of devmodel in modaliases.

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

Bastian

-- 
The sight of death frightens them [Earthers].
		-- Kras the Klingon, "Friday's Child", stardate 3497.2

[-- Attachment #1.2: diff1 --]
[-- Type: text/plain, Size: 502 bytes --]

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;
 }

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390 - fix match in ccw modalias
  2006-03-06  2:00 [PATCH] s390 - fix match in ccw modalias Bastian Blank
@ 2006-03-06  7:46 ` Cornelia Huck
  2006-03-06 21:28   ` Martin Schwidefsky
  0 siblings, 1 reply; 3+ messages in thread
From: Cornelia Huck @ 2006-03-06  7:46 UTC (permalink / raw)
  To: Bastian Blank; +Cc: Martin Schwidefsky, akpm, linux-kernel, Heiko Carstens

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390 - fix match in ccw modalias
  2006-03-06  7:46 ` Cornelia Huck
@ 2006-03-06 21:28   ` Martin Schwidefsky
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Schwidefsky @ 2006-03-06 21:28 UTC (permalink / raw)
  To: Cornelia Huck
  Cc: Bastian Blank, Martin Schwidefsky, akpm, linux-kernel,
	Heiko Carstens

On 3/6/06, Cornelia Huck <cornelia.huck@de.ibm.com> wrote:
> 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.

No really operational since I'm in Seattle. I'm watching lkml though. The patch
makes much sense to me as well and if Cornelia doesn't object the patch
should get integrated.

--
blue skies,
  Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-06 21:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06  2:00 [PATCH] s390 - fix match in ccw modalias Bastian Blank
2006-03-06  7:46 ` Cornelia Huck
2006-03-06 21:28   ` Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox