diff for duplicates of <39c40369-48ef-e245-4e19-4caf12e9f06b@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index ac61812..1ad030b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ index a2e3dd715380..e210e36df123 100644 /* allocate memory for our device state and initialize it */ dev = kzalloc(sizeof(*dev), GFP_KERNEL); -- if (dev = NULL) { +- if (dev == NULL) { - dev_err(&interface->dev, "Out of memory\n"); + if (!dev) goto error; diff --git a/a/content_digest b/N1/content_digest index 5ce82dd..97906f9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\05ab52458-e334-bb06-8d7d-66b48ac3f30b@users.sourceforge.net\0" "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" - "Subject\0[PATCH 1/2] i2c-tiny-usb: Delete an error message for a failed memory allocation in i2c_tiny_usb_pro\0" - "Date\0Thu, 01 Feb 2018 16:57:00 +0000\0" + "Subject\0[PATCH 1/2] i2c-tiny-usb: Delete an error message for a failed memory allocation in i2c_tiny_usb_probe()\0" + "Date\0Thu, 1 Feb 2018 17:57:00 +0100\0" "To\0linux-i2c@vger.kernel.org" Till Harbaum <till@harbaum.org> " Wolfram Sang <wsa@the-dreams.de>\0" @@ -29,7 +29,7 @@ " \n" " \t/* allocate memory for our device state and initialize it */\n" " \tdev = kzalloc(sizeof(*dev), GFP_KERNEL);\n" - "-\tif (dev = NULL) {\n" + "-\tif (dev == NULL) {\n" "-\t\tdev_err(&interface->dev, \"Out of memory\\n\");\n" "+\tif (!dev)\n" " \t\tgoto error;\n" @@ -40,4 +40,4 @@ "-- \n" 2.16.1 -a009bb8405cb3fdfa30b0aefe8005091129d4a13ac0e6f176d94bce07295b955 +f1904529e5a1a9ef2d337291126e5aba64c152613dfc4665fabddd70e8f3bd7b
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.