commit | e39a52da87fc49eeb0a91e7db3c30bd61e87bdb7 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Sat Apr 05 10:25:18 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Apr 22 15:39:37 2014 +0200 |
tree | 0415b00dc9ed824cab9b2ebd6cdb11e609f1c1f8 | |
parent | 2ffd65283bcf120f6bac0d5954c7ccdb845fcbd5 [diff] |
drm/udl: Initialize ret in udl_driver_load We need to set it to -ENODEV when we don't recognize the device. Otherwise we return/print stack garbage. Spotted by coverity. Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>