summaryrefslogtreecommitdiff
path: root/libre/memtest86+/memtest86+-5.01-array-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/memtest86+/memtest86+-5.01-array-size.patch')
-rw-r--r--libre/memtest86+/memtest86+-5.01-array-size.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/libre/memtest86+/memtest86+-5.01-array-size.patch b/libre/memtest86+/memtest86+-5.01-array-size.patch
deleted file mode 100644
index f08e686c9..000000000
--- a/libre/memtest86+/memtest86+-5.01-array-size.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: memtest86+-5.01/controller.c
-===================================================================
---- memtest86+-5.01.orig/controller.c
-+++ memtest86+-5.01/controller.c
-@@ -292,7 +292,7 @@ static void setup_nhm(void)
-
- /* First, locate the PCI bus where the MCH is located */
-
-- for(i = 0; i < sizeof(possible_nhm_bus); i++) {
-+ for(i = 0; i < sizeof(possible_nhm_bus) / sizeof(possible_nhm_bus[0]); i++) {
- pci_conf_read( possible_nhm_bus[i], 3, 4, 0x00, 2, &vid);
- pci_conf_read( possible_nhm_bus[i], 3, 4, 0x02, 2, &did);
- vid &= 0xFFFF;
-@@ -327,7 +327,7 @@ static void setup_nhm32(void)
- ctrl.mode = ECC_NONE;
-
- /* First, locate the PCI bus where the MCH is located */
-- for(i = 0; i < sizeof(possible_nhm_bus); i++) {
-+ for(i = 0; i < sizeof(possible_nhm_bus) / sizeof(possible_nhm_bus[0]); i++) {
- pci_conf_read( possible_nhm_bus[i], 3, 4, 0x00, 2, &vid);
- pci_conf_read( possible_nhm_bus[i], 3, 4, 0x02, 2, &did);
- vid &= 0xFFFF;