diff options
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/fbdev/fsl-diu-fb.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index 7cacabdd5f12..67ebfe5c9f1d 100644 --- a/drivers/video/fbdev/fsl-diu-fb.c +++ b/drivers/video/fbdev/fsl-diu-fb.c @@ -1287,6 +1287,7 @@ static int fsl_diu_ioctl(struct fb_info *info, unsigned int cmd,  		dev_warn(info->dev,  			 "MFB_SET_PIXFMT value of 0x%08x is deprecated.\n",  			 MFB_SET_PIXFMT_OLD); +		/* fall through */  	case MFB_SET_PIXFMT:  		if (copy_from_user(&pix_fmt, buf, sizeof(pix_fmt)))  			return -EFAULT; @@ -1296,6 +1297,7 @@ static int fsl_diu_ioctl(struct fb_info *info, unsigned int cmd,  		dev_warn(info->dev,  			 "MFB_GET_PIXFMT value of 0x%08x is deprecated.\n",  			 MFB_GET_PIXFMT_OLD); +		/* fall through */  	case MFB_GET_PIXFMT:  		pix_fmt = ad->pix_fmt;  		if (copy_to_user(buf, &pix_fmt, sizeof(pix_fmt))) |