diff for duplicates of <48737AA3.3080902@teltonika.lt> diff --git a/a/1.txt b/N1/1.txt index 0f425fb..8eb8e99 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -25,10 +25,10 @@ spelling gatther :) > + > + if (V4L2_MEMORY_MMAP != q->bufs[first]->memory) > + continue; -> + if (q->bufs[first]->boff = offset) +> + if (q->bufs[first]->boff == offset) > + break; > + } -> + if (VIDEO_MAX_FRAME = first) { +> + if (VIDEO_MAX_FRAME == first) { > + dev_dbg(q->dev, "invalid user space offset [offset=0x%lx]\n", > + offset); > + return -EINVAL; @@ -103,3 +103,8 @@ It is safe to do it this way and also saves some CPU instructions :) > + kfree(map); > + return -ENOMEM; > +} + +-- +video4linux-list mailing list +Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe +https://www.redhat.com/mailman/listinfo/video4linux-list diff --git a/a/content_digest b/N1/content_digest index 550fec6..e689ca5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,11 @@ "ref\020080705025335.27137.98068.sendpatchset@rx1.opensource.se\0" "ref\020080705025405.27137.16206.sendpatchset@rx1.opensource.se\0" "From\0Paulius Zaleckas <paulius.zaleckas@teltonika.lt>\0" - "Subject\0Re: [PATCH 03/04] videobuf: Add physically contiguous queue code\0" - "Date\0Tue, 08 Jul 2008 14:33:07 +0000\0" + "Subject\0Re: [PATCH 03/04] videobuf: Add physically contiguous queue code V2\0" + "Date\0Tue, 08 Jul 2008 17:33:07 +0300\0" "To\0video4linux-list@redhat.com\0" - "Cc\0linux-sh@vger.kernel.org\0" + "Cc\0video4linux-list@redhat.com" + " linux-sh@vger.kernel.org\0" "\00:1\0" "b\0" "Magnus Damm wrote:\n" @@ -34,10 +35,10 @@ "> +\n" "> +\t\tif (V4L2_MEMORY_MMAP != q->bufs[first]->memory)\n" "> +\t\t\tcontinue;\n" - "> +\t\tif (q->bufs[first]->boff = offset)\n" + "> +\t\tif (q->bufs[first]->boff == offset)\n" "> +\t\t\tbreak;\n" "> +\t}\n" - "> +\tif (VIDEO_MAX_FRAME = first) {\n" + "> +\tif (VIDEO_MAX_FRAME == first) {\n" "> +\t\tdev_dbg(q->dev, \"invalid user space offset [offset=0x%lx]\\n\",\n" "> +\t\t\toffset);\n" "> +\t\treturn -EINVAL;\n" @@ -111,6 +112,11 @@ "> +error:\n" "> +\tkfree(map);\n" "> +\treturn -ENOMEM;\n" - > +} + "> +}\n" + "\n" + "--\n" + "video4linux-list mailing list\n" + "Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe\n" + https://www.redhat.com/mailman/listinfo/video4linux-list -edfeb6a79eeea24d98e7fef20e36c41dccbcdc3ab6f508fdd4f565f8b6a253ae +b4c18a0d72dd2faacc2ba90890fa28622e7d6b50f61e205eb7764caae25b55ca
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.