diff for duplicates of <20200924134651.GA1586456@mwanda> diff --git a/a/1.txt b/N1/1.txt index 25ebf1a..7257830 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -46,7 +46,7 @@ index c8133f50160b..e151a7f10519 100644 + mutex_lock(&mdevice->devmem_lock); - if (mdevice->devmem_count = mdevice->devmem_capacity) { + if (mdevice->devmem_count == mdevice->devmem_capacity) { @@ -471,30 +487,14 @@ static bool dmirror_allocate_chunk(struct dmirror_device *mdevice, sizeof(new_chunks[0]) * new_capacity, GFP_KERNEL); diff --git a/a/content_digest b/N1/content_digest index c30bb56..faf5552 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0c25729e4-8a53-07e3-ae98-d77919f3ac21@nvidia.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH v2] mm/hmm/test: use after free in dmirror_allocate_chunk()\0" - "Date\0Thu, 24 Sep 2020 13:46:51 +0000\0" + "Date\0Thu, 24 Sep 2020 16:46:51 +0300\0" "To\0J\303\251r\303\264me Glisse <jglisse@redhat.com>\0" "Cc\0Wei Yongjun <weiyongjun1@huawei.com>" Jason Gunthorpe <jgg@ziepe.ca> @@ -59,7 +59,7 @@ "+\n" " \tmutex_lock(&mdevice->devmem_lock);\n" " \n" - " \tif (mdevice->devmem_count = mdevice->devmem_capacity) {\n" + " \tif (mdevice->devmem_count == mdevice->devmem_capacity) {\n" "@@ -471,30 +487,14 @@ static bool dmirror_allocate_chunk(struct dmirror_device *mdevice,\n" " \t\t\t\tsizeof(new_chunks[0]) * new_capacity,\n" " \t\t\t\tGFP_KERNEL);\n" @@ -113,4 +113,4 @@ "-- \n" 2.28.0 -88d9f121b0931968961244d2df9d0923931c15f72fcda4e62294e7aaefc7f418 +869c4c83cac49b4579c0cfd080ed8f296c88af2e4198a50872f59092fab2900d
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.