lkml.org 
[lkml]   [2021]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] media: v4l2-dev.c: Modified the macro SET_VALID_IOCTL
On Tue, May 25, 2021 at 05:41:48PM +0800, lijian_8010a29@163.com wrote:
> From: lijian <lijian@yulong.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@yulong.com>

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>

--
Sakari Ailus

\
 
 \ /
  Last update: 2021-05-25 17:22    [W:0.051 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site