lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
From
Date
> The of_drm_find_bridge() function returns NULL on error, it doesn't return
> error pointers so this check doesn't work.

How do you think about a wording variant like the following?

Change description:
An error pointer check was performed after a call of the
function “of_drm_find_bridge” despite of the detail
that failures are indicated for the bridge search
by null pointers instead.
Thus adjust a check for the failure predicate
and the corresponding exception handling.


Regards,
Markus

\
 
 \ /
  Last update: 2020-04-30 13:57    [W:0.020 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site