greybus: connection: fix potential null-deref in hd_cport_enable
Use parent of host device for error messages as the connections bundle may be NULL. Signed-off-by: NJohan Hovold <johan@hovoldconsulting.com> Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录