diff for duplicates of <20120518085749.GE24355@linux-sh.org> diff --git a/a/1.txt b/N1/1.txt index 2f9645f..65869e3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ On Thu, May 03, 2012 at 04:32:39PM +0100, Mark Brown wrote: > On Thu, May 03, 2012 at 05:05:34PM +0200, Guennadi Liakhovetski wrote: > -> > - if (regulator == NULL || IS_ERR(regulator)) +> > - if (regulator = NULL || IS_ERR(regulator)) > > + if (IS_ERR_OR_NULL(regulator)) > > The bigger question here is why we're accepting NULL in the first place. diff --git a/a/content_digest b/N1/content_digest index f576c2d..5691b2c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020120503153239.GN3955@opensource.wolfsonmicro.com\0" "From\0Paul Mundt <lethal@linux-sh.org>\0" "Subject\0Re: [PATCH 05/29] regulator: use IS_ERR_OR_NULL() instead of open-coding\0" - "Date\0Fri, 18 May 2012 17:57:50 +0900\0" + "Date\0Fri, 18 May 2012 08:57:50 +0000\0" "To\0Mark Brown <broonie@opensource.wolfsonmicro.com>\0" "Cc\0Guennadi Liakhovetski <g.liakhovetski@gmx.de>" linux-mmc@vger.kernel.org @@ -13,7 +13,7 @@ "On Thu, May 03, 2012 at 04:32:39PM +0100, Mark Brown wrote:\n" "> On Thu, May 03, 2012 at 05:05:34PM +0200, Guennadi Liakhovetski wrote:\n" "> \n" - "> > -\tif (regulator == NULL || IS_ERR(regulator))\n" + "> > -\tif (regulator = NULL || IS_ERR(regulator))\n" "> > +\tif (IS_ERR_OR_NULL(regulator))\n" "> \n" "> The bigger question here is why we're accepting NULL in the first place.\n" @@ -27,4 +27,4 @@ "\n" Presumably the same applies for regulators? -3d72f888d2ca35ae79cdd1d934fd5d56258dd1303b4716f6c5e3036c541a306b +b3abc1467e763119e6d32e9ff9a4eb8fa065874c6445ec274494532efb382c10
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.