Re: [PATCH] vt: fix unicode console freeing with a common interface

2020-05-02 Thread Sam Ravnborg
Hi Nicolas On Sat, May 02, 2020 at 11:01:07AM -0400, Nicolas Pitre wrote: > By directly using kfree() in different places we risk missing one if > it is switched to using vfree(), especially if the corresponding > vmalloc() is hidden away within a common abstraction. > > Oh wait, that's exactly w

[PATCH] vt: fix unicode console freeing with a common interface

2020-05-02 Thread Nicolas Pitre
By directly using kfree() in different places we risk missing one if it is switched to using vfree(), especially if the corresponding vmalloc() is hidden away within a common abstraction. Oh wait, that's exactly what happened here. So let's fix this by creating a common abstraction for the free c