diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-17 10:00:38 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-12-17 12:47:17 +0300 |
commit | 705c8160ce88825d2491aa55fa9da4fa79204c10 (patch) | |
tree | 3fa03f7a8f04e2ecf00986c142bfc3f421d595cc /drivers/atm | |
parent | 706246c761ddd394e2b02f6dba2357d8eb5a7b5d (diff) | |
download | linux-705c8160ce88825d2491aa55fa9da4fa79204c10.tar.xz |
drm: Fix an error pointer dereference()
The drm_mode_create_tile_group() is only called from
drm_parse_tiled_block() and the caller expects it to return a NULL on
error. In other words, this function should match
drm_mode_get_tile_group().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181217065733.GA12159@kadam
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions