Staging: hv: check return value of driver_for_each_device()

The return value of driver_for_each_device() is now checked.  A
non-zero value simply generates a warning message, but it's better
than not checking at all.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Bill Pemberton 2009-07-28 13:46:22 -04:00 • committed by Greg Kroah-Hartman
commit 2295ba2e7c
3 changed files with 26 additions and 6 deletions