Re: [PATCH] drm: omapdrm: silence unititialized variable warning

2018-05-02 Thread Tomi Valkeinen
Hi, On 18/04/18 17:29, Dan Carpenter wrote: > Smatch complains that "area_free" could be used without being > initialized. This code is several years old and premusably works fine > so this can't be a very serious bug. But it's easy enough to silence > the warning. If "area_free" is false at th

[PATCH] drm: omapdrm: silence unititialized variable warning

2018-04-18 Thread Dan Carpenter
Smatch complains that "area_free" could be used without being initialized. This code is several years old and premusably works fine so this can't be a very serious bug. But it's easy enough to silence the warning. If "area_free" is false at the end of the function then we return -ENOMEM. Signed