diff for duplicates of <20100827194221.GH23079@void.printf.net> diff --git a/a/1.txt b/N1/1.txt index 154fbb0..aed5ce4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,13 +15,13 @@ On Thu, May 06, 2010 at 10:04:19AM +0200, Tobias Klauser wrote: > --- a/drivers/mmc/host/omap.c > +++ b/drivers/mmc/host/omap.c > @@ -1415,7 +1415,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev) -> if (res = NULL || irq < 0) +> if (res == NULL || irq < 0) > return -ENXIO; > > - res = request_mem_region(res->start, res->end - res->start + 1, > + res = request_mem_region(res->start, resource_size(res), > pdev->name); -> if (res = NULL) +> if (res == NULL) > return -EBUSY; > @@ -1537,7 +1537,7 @@ static int mmc_omap_remove(struct platform_device *pdev) > diff --git a/a/content_digest b/N1/content_digest index 4dfc4c9..9cb88b0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01273133059-6335-1-git-send-email-tklauser@distanz.ch\0" "From\0Chris Ball <cjb@laptop.org>\0" "Subject\0Re: [PATCH] mmci-omap: Use resource_size\0" - "Date\0Fri, 27 Aug 2010 19:42:22 +0000\0" + "Date\0Fri, 27 Aug 2010 20:42:22 +0100\0" "To\0Tobias Klauser <tklauser@distanz.ch>\0" "Cc\0jarkko.lavinen@nokia.com" tony@atomide.com @@ -28,13 +28,13 @@ "> --- a/drivers/mmc/host/omap.c\n" "> +++ b/drivers/mmc/host/omap.c\n" "> @@ -1415,7 +1415,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev)\n" - "> \tif (res = NULL || irq < 0)\n" + "> \tif (res == NULL || irq < 0)\n" "> \t\treturn -ENXIO;\n" "> \n" "> -\tres = request_mem_region(res->start, res->end - res->start + 1,\n" "> +\tres = request_mem_region(res->start, resource_size(res),\n" "> \t\t\t\t pdev->name);\n" - "> \tif (res = NULL)\n" + "> \tif (res == NULL)\n" "> \t\treturn -EBUSY;\n" "> @@ -1537,7 +1537,7 @@ static int mmc_omap_remove(struct platform_device *pdev)\n" "> \n" @@ -56,4 +56,4 @@ "Chris Ball <cjb@laptop.org> <http://printf.net/>\n" One Laptop Per Child -dc75d4297f2daa467ad04e6344197b5436ae1af3a8bf48bfea21bb1bd98f87f6 +7fa8e8185d1682cf9ba10a88532bb92de279477992032fc812c5a0af80e5c088
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.