diff for duplicates of <bbb0866e-73b7-ff4a-e2d4-eec9d4a8219c@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index 05144f0..947f9b6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,7 @@ index e914b8c80943..d22b3c428ca9 100644 @@ -80,7 +80,6 @@ static int ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id) sp = kzalloc(sizeof(struct service_processor), GFP_KERNEL); - if (sp = NULL) { + if (sp == NULL) { - dev_err(&pdev->dev, "Failed to allocate memory\n"); result = -ENOMEM; goto error_kmalloc; diff --git a/a/content_digest b/N1/content_digest index 36189b7..dd5408f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0842e4179-dbac-cd43-e320-c5009d896a28@users.sourceforge.net\0" "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" "Subject\0[PATCH 1/3] misc/ibmasm: Delete an error message for a failed memory allocation in ibmasm_init_one()\0" - "Date\0Mon, 08 Jan 2018 13:08:30 +0000\0" + "Date\0Mon, 8 Jan 2018 14:08:30 +0100\0" "To\0kernel-janitors@vger.kernel.org" Andy Shevchenko <andy.shevchenko@gmail.com> Anton Vasilyev <vasilyev@ispras.ru> @@ -30,7 +30,7 @@ "@@ -80,7 +80,6 @@ static int ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id)\n" " \n" " \tsp = kzalloc(sizeof(struct service_processor), GFP_KERNEL);\n" - " \tif (sp = NULL) {\n" + " \tif (sp == NULL) {\n" "-\t\tdev_err(&pdev->dev, \"Failed to allocate memory\\n\");\n" " \t\tresult = -ENOMEM;\n" " \t\tgoto error_kmalloc;\n" @@ -38,4 +38,4 @@ "-- \n" 2.15.1 -70411cffa0f083c4f66a14f0e8acbe657dcdd46e6366ab231077661b0fac7809 +bf6999499f92b7a9534cb1cea0e71af9eac51008a6af879a98897a396e9103ce
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.