[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8sARRBC5XnXpK-Pzv2e_xx9XoazhBx=C0gM5uV4_izuOg@mail.gmail.com>
Date: Tue, 22 Mar 2016 11:25:57 +0000
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Colin King <colin.king@...onical.com>
Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>,
linux-media <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [media] media: am437x-vpfe: ensure ret is initialized
Hi Colin,
On Mon, Mar 21, 2016 at 11:32 PM, Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> ret should be initialized to 0; for example if pfe->fmt.fmt.pix.field
> is V4L2_FIELD_NONE then ret will contain garbage from the
> uninitialized state causing garbage to be returned if it is non-zero.
>
Thanks for the patch, patch [1] fixing this issue is already posted in ML.
[1] http://www.mail-archive.com/linux-media@vger.kernel.org/msg95562.html
Cheers,
--Prabhakar Lad
Powered by blists - more mailing lists