[PATCH 6.12 109/414] fbdev: Fix fb_set_var to prevent null-ptr-deref in fb_videomode_to_var