} 
sisfb_pan_display(struct fb_var_screeninfo *var, struct fb_info* info){	struct sis_video_info *ivideo = (struct sis_video_info *)info->par;	int err;	if(var->xoffset > (var->xres_virtual - var->xres)) {		return -EINVAL;	}	if(var->yoffset > (var->yres_virtual - var->yres)) {		return -EINVAL;	}	if(var->vmode & FB_VMODE_YWRAP) return -EINVAL;	if(var->xoffset + info->var.xres > info->var.xres_virtual ||	   var->yoffset + info->var.yres > info->var.yres_virtual) {		return -EINVAL;	}	if((err = sisfb_pan_var(ivideo, var)) < 0) return err;	info->var.xoffset = var->xoffset;	info->var.yoffset = var->yoffset;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/sis_main.c/clean/drivers/video/sis/sis_main.c