Staging: hv: check return value of driver_for_each_device()
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 28 Jul 2009 17:46:22 +0000 (13:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:52 +0000 (12:01 -0700)
commit2295ba2e7c4141e864f66830b07e635245233a3d
tree171fce7ebd2a1a770b98b7825d0d31d5b76abccc
parent3d3b5518a35fa3c31b74224d944cbc83302c5ab4
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>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/storvsc_drv.c