diff for duplicates of <4EAFE6DF.8030403@bfs.de> diff --git a/a/1.txt b/N1/1.txt index 317f3ea..83e9f47 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,7 +19,7 @@ Am 01.11.2011 07:28, schrieb Dan Carpenter: > break; > prv = limit; > } -> + if (n_tads = MAX_TAD) { +> + if (n_tads == MAX_TAD) { > + sprintf(msg, "Could not discover the memory channel"); why the sprintf() ? can you not simply: diff --git a/a/content_digest b/N1/content_digest index 52b43d3..da23a38 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020111101062852.GA19020@elgon.mountain\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [patch] edac: sb_edac: add sanity check to silence static checker\0" - "Date\0Tue, 01 Nov 2011 12:32:31 +0000\0" + "Date\0Tue, 01 Nov 2011 13:32:31 +0100\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Mauro Carvalho Chehab <mchehab@redhat.com>" Mark A. Grondona <mgrondona@llnl.gov> @@ -30,7 +30,7 @@ "> \t\t\tbreak;\n" "> \t\tprv = limit;\n" "> \t}\n" - "> +\tif (n_tads = MAX_TAD) {\n" + "> +\tif (n_tads == MAX_TAD) {\n" "> +\t\tsprintf(msg, \"Could not discover the memory channel\");\n" "\n" "why the sprintf() ? can you not simply:\n" @@ -46,4 +46,4 @@ "> \tsck_way = TAD_SOCK(reg) + 1;\n" "> \t/*" -76b29ddb1bbefb7538f82366f6dc78e375655c58f4a9213accd0972b1664f950 +0e0fe93b8c44b6d94f6db31832100bcbc580b796bfd8fb654de9ec3e5de1aa98
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.