+2
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Despite the return value from kmem_cache_zalloc() being checked, the error wasn't being returned until after a possible null pointer dereference. This patch returns the error immediately, allowing the removal of the error variable. Signed-off-by:Andrew Price <anprice@redhat.com> Signed-off-by:
Steven Whitehouse <swhiteho@redhat.com>