diff for duplicates of <20100407100512.GJ28166@amd.com> diff --git a/a/1.txt b/N1/1.txt index 802fcc7..51850f0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ On Tue, Apr 06, 2010 at 07:45:12PM +0300, Dan Carpenter wrote: > - for (i = 0; i < NAME_MAX_LEN; ++i) { > + for (i = 0; i < NAME_MAX_LEN - 1; ++i) { > current_driver_name[i] = buf[i]; -> if (isspace(buf[i]) || buf[i] = ' ' || buf[i] = 0) +> if (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0) > break; Applied, thanks. diff --git a/a/content_digest b/N1/content_digest index 85fb847..24bc053 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\020100406164512.GF21229@bicker\0" "From\0Joerg Roedel <joerg.roedel@amd.com>\0" "Subject\0Re: [patch v2] dma-debug: cleanup for loop\0" - "Date\0Wed, 07 Apr 2010 10:05:12 +0000\0" + "Date\0Wed, 7 Apr 2010 12:05:12 +0200\0" "To\0Dan Carpenter <error27@gmail.com>" Joerg Roedel <joro@8bytes.org> Ingo Molnar <mingo@elte.hu> @@ -36,9 +36,9 @@ "> -\tfor (i = 0; i < NAME_MAX_LEN; ++i) {\n" "> +\tfor (i = 0; i < NAME_MAX_LEN - 1; ++i) {\n" "> \t\tcurrent_driver_name[i] = buf[i];\n" - "> \t\tif (isspace(buf[i]) || buf[i] = ' ' || buf[i] = 0)\n" + "> \t\tif (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0)\n" "> \t\t\tbreak;\n" "\n" Applied, thanks. -8b561c794824eb581db9a84206e03afca529faa9cd2c2856a7a241efba281c33 +04c8c91c42f9ce5614a5c51eecb416b368cee26ac4fff5aa6a482af163c45d0d
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.