mei: hbm: drop BUG() from the hbm handler
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 6 Nov 2018 10:04:38 +0000 (12:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 12:53:03 +0000 (13:53 +0100)
commit40a669739ac76e9076331397ed23592a8d66fb28
treea4c40222dc06a03749b85feb0f46c0548ceb033c
parent651022382c7f8da46cb4872a545ee1da6d097d2a
mei: hbm: drop BUG() from the hbm handler

Drop BUG() from the hbm handler in order not to crash the whole
kernel on faulty firmware implementation. Instead of it, just return
an error resulting into link reset.
There is no any known issue of faulty firmware in this matter,
the change is just to ease the development.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c