diff options
| author | 2006-12-09 10:49:47 +1100 | |
|---|---|---|
| committer | 2006-12-11 18:28:45 +1100 | |
| commit | 94f060bd0f78814f4daf8c7942bd710af52c7d6f (patch) | |
| tree | c18ba952bebbaf73497d9cd593bb9d023e81331d /include/linux/root_dev.h | |
| parent | [MIPS] Export local_flush_data_cache_page for sake of IDE. (diff) | |
drm: fix return value check
class_create() and class_device_create() return error code as a pointer on
failure. These return values need to be checked by IS_ERR().
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
