[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210525152204.GF3@paasikivi.fi.intel.com>
Date: Tue, 25 May 2021 18:22:04 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: lijian_8010a29@....com
Cc: mchehab@...nel.org, hverkuil-cisco@...all.nl,
ezequiel@...labora.com, laurent.pinchart@...asonboard.com,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
lijian <lijian@...ong.com>
Subject: Re: [PATCH] media: v4l2-dev.c: Modified the macro SET_VALID_IOCTL
On Tue, May 25, 2021 at 05:41:48PM +0800, lijian_8010a29@....com wrote:
> From: lijian <lijian@...ong.com>
>
> Macros starting with if should be enclosed by a do - while loop
> to avoid possible if/else logic defects.
> So modified the macro SET_VALID_IOCTL with do - while loop.
>
> Signed-off-by: lijian <lijian@...ong.com>
Acked-by: Sakari Ailus <sakari.ailus@...ux.intel.com>
--
Sakari Ailus
Powered by blists - more mailing lists