[lkml]   [2019]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] vt: fix a missing-check bug in con_init()
On Wed, Jun 12, 2019 at 09:15:06PM +0800, Gen Zhang wrote:
> In function con_init(), the pointer variable vc_cons[currcons].d, vc and
> vc->vc_screenbuf is allocated by kzalloc(). However, kzalloc() returns
> NULL when fails. Therefore, we should check the return value and handle
> the error.
> Signed-off-by: Gen Zhang <>
> ---

What changed from v1, v2, and v3?

That always goes below the --- line.

v5 please.


greg k-h

 \ /
  Last update: 2019-06-12 15:39    [W:0.042 / U:16.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site