diff for duplicates of <2857ba10-caa2-b283-da10-e292fdc8698d@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index ce913a8..41bc381 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ index 3ae3c702500d..f69511166aad 100644 goto error_rc_alloc; } whcrc = kzalloc(sizeof(*whcrc), GFP_KERNEL); -- if (whcrc = NULL) { +- if (whcrc == NULL) { - dev_err(dev, "unable to allocate WHC-RC instance\n"); + if (!whcrc) goto error_alloc; diff --git a/a/content_digest b/N1/content_digest index eb47b8d..f49c971 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0994a4a57-cfe6-91b5-5fc1-d4153cc5b0e6@users.sourceforge.net\0" "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" "Subject\0[PATCH 2/4] uwb: Delete an error message for a failed memory allocation in whcrc_probe()\0" - "Date\0Tue, 05 Dec 2017 20:28:11 +0000\0" + "Date\0Tue, 5 Dec 2017 21:28:11 +0100\0" "To\0linux-usb@vger.kernel.org" Andrey Konovalov <andreyknvl@google.com> Greg Kroah-Hartman <gregkh@linuxfoundation.org> @@ -30,7 +30,7 @@ " \t\tgoto error_rc_alloc;\n" " \t}\n" " \twhcrc = kzalloc(sizeof(*whcrc), GFP_KERNEL);\n" - "-\tif (whcrc = NULL) {\n" + "-\tif (whcrc == NULL) {\n" "-\t\tdev_err(dev, \"unable to allocate WHC-RC instance\\n\");\n" "+\tif (!whcrc)\n" " \t\tgoto error_alloc;\n" @@ -42,4 +42,4 @@ "-- \n" 2.15.1 -371bae0db5d08a0acece5086feb515e0fa306b26d894a1788060a29a92f6c318 +378b5c266c2742046efa41fd98ca3f7f1368046354e4bb4fe570cc5efe192aa4
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.