#ifndef PRIVS_H #define PRIVS_H #include extern void drop_privileges(bool enforce, uid_t uid, gid_t gid); #endif /* PRIVS_H */ >
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-05-04 17:37:58 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-05-30 08:28:33 +0200
commit0de6e914a035076b1241f5738c06c9d3820abd6e (patch)
tree004330f8eb98fda74a2810667b251342119234c2
parent0bbbb00bda57e6f091275b0103445596322b9277 (diff)
drm/sun4i: rgb: panel is an error pointer
In case of an error, our pointer to the drm_panel structure attached to our encoder will hold an error pointer, not a NULL pointer. Make sure we check the right thing. Fixes: 29e57fab97fc ("drm: sun4i: Add RGB output") Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>