OSDN Git Service

staging: unisys: visorbus: Add err handling for function save_crash_message
authorDavid Kershner <david.kershner@unisys.com>
Thu, 22 Dec 2016 16:09:05 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:19:06 +0000 (15:19 +0100)
commit300ed61251db466121a500bc85c720b7d709e6f5
treee35ee63a0d7a5efa578358e06d9888508195b501
parentad2a7d65b126693d73a015722c438701fbf4b4ad
staging: unisys: visorbus: Add err handling for function save_crash_message

The function save_crash_message returns an error, don't ignore it,
respond appropriately and send it up.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c