diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-27 16:47:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:51 -0700 |
commit | 5d48a1c20268871395299672dce5c1989c9c94e4 (patch) | |
tree | 04db3e5b2a5dadcf3e6bf083de81d00f71ed7f52 /drivers/staging/hv/netvsc_drv.c | |
parent | c19fbca307c19bd0d49e86b9417613c90eb9de95 (diff) | |
download | op-kernel-dev-5d48a1c20268871395299672dce5c1989c9c94e4.zip op-kernel-dev-5d48a1c20268871395299672dce5c1989c9c94e4.tar.gz |
Staging: hv: check return value of device_register()
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/netvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/netvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 8cf552a..82f7700 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -114,7 +114,7 @@ int netvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) drv_ctx->remove = netvsc_remove; /* The driver belongs to vmbus */ - vmbus_child_driver_register(drv_ctx); + ret = vmbus_child_driver_register(drv_ctx); DPRINT_EXIT(NETVSC_DRV); |