mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
greybus: protocol: fix oops when no protocol is assigned
When removing a connection with no protocol assigned to it, the kernel oopses as we always thought protocols were always there. Fix that problem, oopses are bad. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Reviewed-by: Alex Elder <elder@linaro.org>
This commit is contained in:
parent
7422a1ec2e
commit
23ad7bb96b
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue