The patch titled freescale DIU: bug fix: add sanity check for AOI position has been removed from the -mm tree. Its filename was freescale-diu-bug-fix-add-sanity-check-for-aoi-position.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: freescale DIU: bug fix: add sanity check for AOI position From: York Sun <yorksun@xxxxxxxxxxxxx> AOI position cannot be negative. Signed-off-by: York Sun <yorksun@xxxxxxxxxxxxx> Cc: Kumar Gala <galak@xxxxxxxxxxxxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Cc: Krzysztof Helt <krzysztof.h1@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/fsl-diu-fb.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN drivers/video/fsl-diu-fb.c~freescale-diu-bug-fix-add-sanity-check-for-aoi-position drivers/video/fsl-diu-fb.c --- a/drivers/video/fsl-diu-fb.c~freescale-diu-bug-fix-add-sanity-check-for-aoi-position +++ a/drivers/video/fsl-diu-fb.c @@ -479,6 +479,10 @@ static void adjust_aoi_size_position(str base_plane_width = machine_data->fsl_diu_info[0]->var.xres; base_plane_height = machine_data->fsl_diu_info[0]->var.yres; + if (mfbi->x_aoi_d < 0) + mfbi->x_aoi_d = 0; + if (mfbi->y_aoi_d < 0) + mfbi->y_aoi_d = 0; switch (index) { case 0: if (mfbi->x_aoi_d != 0) _ Patches currently in -mm which might be from yorksun@xxxxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html