mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-30 17:25:18 +09:00
The ->alloc() callback in struct falcon_ops returns an ERR_PTR()-encoded error code on failure, so it needs to be properly checked for, otherwise subsequent code may dereference an invalid pointer. Signed-off-by: Thierry Reding <treding@nvidia.com>