diff options
author | Dan Carpenter <[email protected]> | 2020-07-22 14:38:48 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-08-06 11:27:25 +0200 |
commit | 9bde425e70b6d6b49f3206a1d3817bccb92a893d (patch) | |
tree | f9672ec4b96195371d322d814d0d64962e834d47 /lib/test_overflow.c | |
parent | 43663dc4f4300e6a4ff4dade9a17cef42e79232c (diff) |
media: allegro: fix an error pointer vs NULL check
The allegro_mbox_init() function returns error pointers, it never
returns NULL.
Fixes: 94dc76560261 ("media: allegro: rework mbox handling")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Michael Tretter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions