diff for duplicates of <20140426234204.GD17562@mguzik.redhat.com> diff --git a/a/1.txt b/N1/1.txt index 8cc27a3..0d4c80c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ On Sun, Apr 27, 2014 at 12:00:56AM +0100, Al Viro wrote: > be (*IF* the overflow is, indeed, possible and if simple s/int/long/ wouldn't > be a better fix) something along the lines of > mutex_lock(&item->mutex); -> if (unlikely(item->refcount = INT_MAX)) { +> if (unlikely(item->refcount == INT_MAX)) { > ret = -EINVAL; > <maybe whine and/or raise SIGKILL> > goto out_err; diff --git a/a/content_digest b/N1/content_digest index e9cc6be..7aebc58 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020140426230056.GH18016@ZenIV.linux.org.uk\0" "From\0Mateusz Guzik <mguzik@redhat.com>\0" "Subject\0Re: [PATCH] drm: make variable named \"refcount\" atomic, like most refcounts in the kernel.\0" - "Date\0Sat, 26 Apr 2014 23:42:05 +0000\0" + "Date\0Sun, 27 Apr 2014 01:42:05 +0200\0" "To\0Al Viro <viro@zeniv.linux.org.uk>\0" "Cc\0Lionel Debroux <lionel_debroux@yahoo.fr>" linux-kernel@vger.kernel.org @@ -22,7 +22,7 @@ "> be (*IF* the overflow is, indeed, possible and if simple s/int/long/ wouldn't\n" "> be a better fix) something along the lines of\n" "> \tmutex_lock(&item->mutex);\n" - "> \tif (unlikely(item->refcount = INT_MAX)) {\n" + "> \tif (unlikely(item->refcount == INT_MAX)) {\n" "> \t\tret = -EINVAL;\n" "> \t\t<maybe whine and/or raise SIGKILL>\n" "> \t\tgoto out_err;\n" @@ -55,4 +55,4 @@ "-- \n" Mateusz Guzik -88348a1fb3336a3276ae9b535acf3ec42d2c506135e280d72fdb8a373a0248ad +c8570108f0f14fc77d4ad2d815da3c71cdfbfe51c3a888a95d9c0289de8557e2
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.