[PATCH 1/2] console: Remove dummy con_font_op() callback implementations
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Tue Nov 10 14:56:08 UTC 2020
On Tue, Nov 10, 2020 at 01:49:46PM +0100, Daniel Vetter wrote:
> On Fri, Nov 06, 2020 at 11:50:58AM +0100, Greg Kroah-Hartman wrote:
> > On Sat, Oct 31, 2020 at 03:24:41AM -0400, Peilin Ye wrote:
> > > `struct console_font` is a UAPI structure, thus ideally should not be
> > > used for kernel internal abstraction. Remove some dummy .con_font_set,
> > > .con_font_default and .con_font_copy `struct consw` callback
> > > implementations, to make it cleaner.
> > >
> > > Patch "fbcon: Prevent global-out-of-bounds read in fbcon_copy_font()"
> > > depends on this patch, so Cc: stable.
> > >
> > > Cc: stable at vger.kernel.org
> > > Suggested-by: Daniel Vetter <daniel at ffwll.ch>
> > > Signed-off-by: Peilin Ye <yepeilin.cs at gmail.com>
> > > ---
> > > Context: https://lore.kernel.org/lkml/CAKMK7uFY2zv0adjKJ_ORVFT7Zzwn075MaU0rEU7_FuqENLR=UA@mail.gmail.com/
> > >
> > > drivers/usb/misc/sisusbvga/sisusb_con.c | 21 ---------------------
> > > drivers/video/console/dummycon.c | 20 --------------------
> > > 2 files changed, 41 deletions(-)
> >
> > Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>
> Peilin, can you pls resend this together with all the other pending
> patches from you? I think that's better than me trying to cherry-pick the
> bits we decided to keep from random places.
>
> Greg, ok if I just pull these in through drm-misc-next? It's a pretty bad
> hairball anyway and that avoids the tree coordination issues. Only thing
> that might get in the way is the vt font_copy removal, but that's in -rc3
> so easy to backmerge.
Yes please take them all!
thanks,
greg k-h
More information about the dri-devel
mailing list