diff for duplicates of <20091009201224.GA6208@rainbow> diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..168d202 --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,2 @@ +Content-Type: text/plain; charset=us-ascii +Content-Disposition: attachment; filename="0001-irda-sa1100_ir-check-return-value-of-startup-hook.patch" diff --git a/N1/2.txt b/N1/2.txt new file mode 100644 index 0000000..48738fd --- /dev/null +++ b/N1/2.txt @@ -0,0 +1,30 @@ +>From ba1fe701950634aae46aa59431633e99f8bd18cc Mon Sep 17 00:00:00 2001 +From: Dmitry Artamonow <mad_soft@inbox.ru> +Date: Fri, 9 Oct 2009 21:56:21 +0400 +Subject: [PATCH v2] irda/sa1100_ir: check return value of startup hook + +Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> +--- + drivers/net/irda/sa1100_ir.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/drivers/net/irda/sa1100_ir.c b/drivers/net/irda/sa1100_ir.c +index 38bf7cf..c412e80 100644 +--- a/drivers/net/irda/sa1100_ir.c ++++ b/drivers/net/irda/sa1100_ir.c +@@ -232,8 +232,11 @@ static int sa1100_irda_startup(struct sa1100_irda *si) + /* + * Ensure that the ports for this device are setup correctly. + */ +- if (si->pdata->startup) +- si->pdata->startup(si->dev); ++ if (si->pdata->startup) { ++ ret = si->pdata->startup(si->dev); ++ if (ret) ++ return ret; ++ } + + /* + * Configure PPC for IRDA - we want to drive TXD2 low. +-- +1.6.3.4 diff --git a/N1/3.hdr b/N1/3.hdr new file mode 100644 index 0000000..4b86001 --- /dev/null +++ b/N1/3.hdr @@ -0,0 +1,4 @@ +Content-Type: text/plain; charset="us-ascii" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Disposition: inline diff --git a/N1/3.txt b/N1/3.txt new file mode 100644 index 0000000..8133cf0 --- /dev/null +++ b/N1/3.txt @@ -0,0 +1,4 @@ +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N1/content_digest index 7d3c115..4c6d605 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,15 @@ "ref\01255073153-24962-1-git-send-email-mad_soft@inbox.ru\0" "ref\04ACF293C.7070803@ru.mvista.com\0" - "From\0mad_soft@inbox.ru (Dmitry Artamonow)\0" - "Subject\0[PATCH] irda/sa1100_ir: check return value of startup hook\0" + "From\0Dmitry Artamonow <mad_soft@inbox.ru>\0" + "Subject\0Re: [PATCH] irda/sa1100_ir: check return value of startup hook\0" "Date\0Sat, 10 Oct 2009 00:12:24 +0400\0" - "To\0linux-arm-kernel@lists.infradead.org\0" - "\00:1\0" + "To\0Sergei Shtylyov <sshtylyov@ru.mvista.com>\0" + "Cc\0netdev@vger.kernel.org" + Samuel Ortiz <samuel@sortiz.org> + Russell King <linux@arm.linux.org.uk> + David S. Miller <davem@davemloft.net> + " linux-arm-kernel@lists.infradead.org\0" + "\01:1\0" "b\0" "On 16:14 Fri 09 Oct , Sergei Shtylyov wrote:\n" "\n" @@ -27,5 +32,44 @@ "-- \n" "Best regards,\n" "Dmitry \"MAD\" Artamonow" + "\01:2\0" + "fn\00001-irda-sa1100_ir-check-return-value-of-startup-hook.patch\0" + "b\0" + ">From ba1fe701950634aae46aa59431633e99f8bd18cc Mon Sep 17 00:00:00 2001\n" + "From: Dmitry Artamonow <mad_soft@inbox.ru>\n" + "Date: Fri, 9 Oct 2009 21:56:21 +0400\n" + "Subject: [PATCH v2] irda/sa1100_ir: check return value of startup hook\n" + "\n" + "Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>\n" + "---\n" + " drivers/net/irda/sa1100_ir.c | 7 +++++--\n" + " 1 files changed, 5 insertions(+), 2 deletions(-)\n" + "\n" + "diff --git a/drivers/net/irda/sa1100_ir.c b/drivers/net/irda/sa1100_ir.c\n" + "index 38bf7cf..c412e80 100644\n" + "--- a/drivers/net/irda/sa1100_ir.c\n" + "+++ b/drivers/net/irda/sa1100_ir.c\n" + "@@ -232,8 +232,11 @@ static int sa1100_irda_startup(struct sa1100_irda *si)\n" + " \t/*\n" + " \t * Ensure that the ports for this device are setup correctly.\n" + " \t */\n" + "-\tif (si->pdata->startup)\n" + "-\t\tsi->pdata->startup(si->dev);\n" + "+\tif (si->pdata->startup)\t{\n" + "+\t\tret = si->pdata->startup(si->dev);\n" + "+\t\tif (ret)\n" + "+\t\t\treturn ret;\n" + "+\t}\n" + " \n" + " \t/*\n" + " \t * Configure PPC for IRDA - we want to drive TXD2 low.\n" + "-- \n" + 1.6.3.4 + "\01:3\0" + "b\0" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -9bd35ae034b724d94be7e214af3f09facdaa6db6eab77b6012b7219c8a22d32d +04e7cb036d1e09210fbc45abadefb2fd2b3cc322584d727575eafebd2439b361
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.