diff for duplicates of <200705261558.24912.lists-receive@programmierforen.de> diff --git a/a/1.txt b/N1/1.txt index 28a6eb5..e57728f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -60,7 +60,8 @@ index 1285e91..ba6d4a1 100644 */ - for (i = 0; i < ACPI_FADT_INFO_ENTRIES; i++) { + for (i = 0; i < ARRAY_SIZE(fadt_info_table); i++) { - target ACPI_ADD_PTR(struct acpi_generic_address, &acpi_gbl_FADT, + target = + ACPI_ADD_PTR(struct acpi_generic_address, &acpi_gbl_FADT, fadt_info_table[i].target); @@ -392,7 +390,7 @@ static void acpi_tb_validate_fadt(void) @@ -70,8 +71,3 @@ index 1285e91..ba6d4a1 100644 + for (i = 0; i < ARRAY_SIZE(fadt_info_table); i++) { /* Generate pointers to the 32-bit and 64-bit addresses and get the length */ - -_______________________________________________ -Kernel-janitors mailing list -Kernel-janitors@lists.linux-foundation.org -https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors diff --git a/a/content_digest b/N1/content_digest index 8b36309..c17bc10 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0200705261239.27485.lists-receive@programmierforen.de\0" "ref\046581C06.7000005@student.ltu.se\0" "From\0Andi Drebes <lists-receive@programmierforen.de>\0" - "Subject\0Re: [KJ] [PATCH] drivers/acpi: sizeof/sizeof array size calculations\0" + "Subject\0Re: [KJ] [PATCH] drivers/acpi: sizeof/sizeof array size calculations replaced with ARRAY_SIZE\0" "Date\0Sat, 26 May 2007 13:58:24 +0000\0" "To\0Richard Knutsson <ricknu-0@student.ltu.se>\0" "Cc\0kernel-janitors@lists.osdl.org" @@ -71,7 +71,8 @@ " \t */\n" "-\tfor (i = 0; i < ACPI_FADT_INFO_ENTRIES; i++) {\n" "+\tfor (i = 0; i < ARRAY_SIZE(fadt_info_table); i++) {\n" - " \t\ttarget \t\t ACPI_ADD_PTR(struct acpi_generic_address, &acpi_gbl_FADT,\n" + " \t\ttarget =\n" + " \t\t ACPI_ADD_PTR(struct acpi_generic_address, &acpi_gbl_FADT,\n" " \t\t\t\t fadt_info_table[i].target);\n" "@@ -392,7 +390,7 @@ static void acpi_tb_validate_fadt(void)\n" " \n" @@ -80,11 +81,6 @@ "-\tfor (i = 0; i < ACPI_FADT_INFO_ENTRIES; i++) {\n" "+\tfor (i = 0; i < ARRAY_SIZE(fadt_info_table); i++) {\n" " \n" - " \t\t/* Generate pointers to the 32-bit and 64-bit addresses and get the length */\n" - " \n" - "_______________________________________________\n" - "Kernel-janitors mailing list\n" - "Kernel-janitors@lists.linux-foundation.org\n" - https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors + " \t\t/* Generate pointers to the 32-bit and 64-bit addresses and get the length */" -b9a78dd03131a76ca12e0f3fccbf0e1a2d19798c62cdf94cb48cd09ad99b9d6a +5facaa0d7c5d9660ad82289de6f535ee06c6ffaf6bd0a7edf4e16a5d3944e89c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.