Re: [PATCH v2] media: davinci: vpif: align the buffers size to pagepage size boundary

From: Sergei Shtylyov
Date: Tue Apr 16 2013 - 07:40:55 EST


Hello.

On 16-04-2013 14:54, Prabhakar lad wrote:

From: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>

with recent commit with id 068a0df76023926af958a336a78bef60468d2033

Please also specify the summary line of that commit in parens (or however you like).

which adds add length check for mmap, the application were failing to
mmap the buffers.

This patch aligns the the buffer size to page size boundary for both
capture and display driver so the it pass the check.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>
Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Cc: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/