On Tue, May 25, 2021 at 05:41:48PM +0800, lijian_8010a29@xxxxxxx wrote: > From: lijian <lijian@xxxxxxxxxx> > > 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@xxxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus