 if (ret == 0 && var->xres_virtual * var->bits_per_pixel / 8 * var->yres_virtual > fb->fb.fix.smem_len) ret = -EINVAL;  
static int clcdfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info){	struct clcd_fb *fb = to_clcd(info);	int ret = -EINVAL;	if (fb->board->check)		ret = fb->board->check(fb, var);	if (ret == 0)		ret = clcdfb_set_bitfields(fb, var);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/82235e9170f19fa327361ee82a76618e60f2db47/amba-clcd.c/buggy/drivers/video/amba-clcd.c