diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-14 11:19:57 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-01-17 10:57:48 +0200 |
commit | 6fc19c40be96df73d81d8123e31fe45c16c6c2b6 (patch) | |
tree | f06cbcbf13a4f0c36dedc8b6411c690d0c5b8844 /drivers/video | |
parent | 4ac8bd618b6c70fbc043c82f95d2d9b529c57109 (diff) |
video: mmp: Using plain integer as NULL pointer
Sparse complains here:
drivers/video/mmp/core.c:33:16:
warning: Using plain integer as NULL pointer
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mmp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mmp/core.c b/drivers/video/mmp/core.c index c8d42654161..b563b920f15 100644 --- a/drivers/video/mmp/core.c +++ b/drivers/video/mmp/core.c @@ -30,7 +30,7 @@ static struct mmp_overlay *path_get_overlay(struct mmp_path *path, { if (path && overlay_id < path->overlay_num) return &path->overlays[overlay_id]; - return 0; + return NULL; } static int path_check_status(struct mmp_path *path) |