+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Should check the return value of kzalloc first to avoid the null pointer. Then can dereference the non-null pointer to access the fields of struct resource. Signed-off-by:Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by:
Chris Metcalf <cmetcalf@tilera.com>