con2fb 3347 drivers/video/fbdev/core/fbcon.c struct fb_con2fbmap con2fb; con2fb 3350 drivers/video/fbdev/core/fbcon.c if (copy_from_user(&con2fb, argp, sizeof(con2fb))) con2fb 3352 drivers/video/fbdev/core/fbcon.c if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) con2fb 3354 drivers/video/fbdev/core/fbcon.c if (con2fb.framebuffer >= FB_MAX) con2fb 3356 drivers/video/fbdev/core/fbcon.c if (!registered_fb[con2fb.framebuffer]) con2fb 3357 drivers/video/fbdev/core/fbcon.c request_module("fb%d", con2fb.framebuffer); con2fb 3358 drivers/video/fbdev/core/fbcon.c if (!registered_fb[con2fb.framebuffer]) { con2fb 3363 drivers/video/fbdev/core/fbcon.c ret = set_con2fb_map(con2fb.console - 1, con2fb 3364 drivers/video/fbdev/core/fbcon.c con2fb.framebuffer, 1); con2fb 3372 drivers/video/fbdev/core/fbcon.c struct fb_con2fbmap con2fb; con2fb 3374 drivers/video/fbdev/core/fbcon.c if (copy_from_user(&con2fb, argp, sizeof(con2fb))) con2fb 3376 drivers/video/fbdev/core/fbcon.c if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) con2fb 3380 drivers/video/fbdev/core/fbcon.c con2fb.framebuffer = con2fb_map[con2fb.console - 1]; con2fb 3383 drivers/video/fbdev/core/fbcon.c return copy_to_user(argp, &con2fb, sizeof(con2fb)) ? -EFAULT : 0;