thinkpad_acpi: fix possible NULL pointer dereference if kstrdup failed
Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com> Acked-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录