OSDN Git Service

greybus: connection: convert connected dev_warn() to dev_err()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 31 Aug 2015 11:51:10 +0000 (17:21 +0530)
committerJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Sep 2015 12:41:44 +0000 (14:41 +0200)
commit3dca03de9db7c467811bdfcb0b3b90cb9a184a8f
tree7103b4c60c2b252720f0abd283de0a332440bbf5
parent630096899120321791f0ca6fea7ad7f9bd572e20
greybus: connection: convert connected dev_warn() to dev_err()

Failures from control-connected operations are fatal errors and
must be reported with dev_err() instead of dev_warn().

Fix it.

Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ johan: do not promote disconnected warnings, update summary ]
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/connection.c