+ ide_in_drive_list-all-is-not-a-wildcard-anymore.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     ide_in_drive_list(): "ALL" is not a wildcard anymore
has been added to the -mm tree.  Its filename is
     ide_in_drive_list-all-is-not-a-wildcard-anymore.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ide_in_drive_list(): "ALL" is not a wildcard anymore
From: Junio C Hamano <junkio@xxxxxxx>

This removes the support to treat "ALL" as a wildcard for firmware revision. 
This is made a separate patch, as it will break out-of-tree ide drivers that
feed its own table that uses "ALL" as the wildcard to ide_in_drive_list().

Signed-off-by: Junio C Hamano <junkio@xxxxxxx>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/ide/ide-dma.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/ide/ide-dma.c~ide_in_drive_list-all-is-not-a-wildcard-anymore drivers/ide/ide-dma.c
--- a/drivers/ide/ide-dma.c~ide_in_drive_list-all-is-not-a-wildcard-anymore
+++ a/drivers/ide/ide-dma.c
@@ -148,7 +148,6 @@ int ide_in_drive_list(struct hd_driveid 
 	for ( ; drive_table->id_model ; drive_table++)
 		if ((!strcmp(drive_table->id_model, id->model)) &&
 		    (!drive_table->id_firmware ||
-		     !strcmp(drive_table->id_firmware, "ALL") || /* to be removed later */
 		     strstr(id->fw_rev, drive_table->id_firmware)))
 			return 1;
 	return 0;
_

Patches currently in -mm which might be from junkio@xxxxxxx are

ide_in_drive_list-accept-null-as-the-wildcard-for-firmware-revision.patch
mips-au1xxx_ideh-use-null-as-firmware-revision-wildcard.patch
ide_in_drive_list-all-is-not-a-wildcard-anymore.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux