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
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:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [PATCH] s390 - fix match in ccw modalias
- From: Cornelia Huck <[email protected]>
- Re: [PATCH] s390 - fix match in ccw modalias
- Prev by Date: [PATCH 00/16] RTC subsystem
- Next by Date: hugepage: Move hugetlb_free_pgd_range() prototype to hugetlb.h
- Previous by thread: [PATCH 00/16] RTC subsystem
- Next by thread: Re: [PATCH] s390 - fix match in ccw modalias
- Index(es):