Skip to content

Staging: hv: Driver cleanup

K. Y. Srinivasan lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25Staging: hv: vmbus: Rename vmbus_child_device_createdrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv_vmbus.h drivers/staging/hv/vmbus_drv.c+4 -40 replies
2/25Staging: hv: vmbus: Rename vmbus_child_device_registerdrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv_vmbus.h drivers/staging/hv/vmbus_drv.c+4 -40 replies
3/25Staging: hv: vmbus: Rename vmbus_child_device_unregisterdrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv_vmbus.h drivers/staging/hv/vmbus_drv.c+4 -40 replies
4/25Staging: hv: vmbus: Cleanup dated comments in channel_mgmt.cdrivers/staging/hv/channel_mgmt.c+0 -30 replies
5/25Staging: hv: vmbus: Change the signature of struct hv_driver probe functiondrivers/staging/hv/hv_mouse.c drivers/staging/hv/hv_util.c drivers/staging/hv/hyperv.h +3 more+16 -61 reply
6/25Staging: hv: storvsc: Use the driver_data to identify idedrivers/staging/hv/storvsc_drv.c+5 -81 reply
7/25Staging: hv: vmbus: Change the signature of struct hv_driver remove() functiondrivers/staging/hv/hv_mouse.c drivers/staging/hv/hv_util.c drivers/staging/hv/hyperv.h +3 more+17 -61 reply
8/25Staging: hv: util: Perform some service specific initialization in util_probe()drivers/staging/hv/hv_util.c+52 -250 replies
9/25Staging: hv: util: Perform some service specific de-initialization in util_remove()drivers/staging/hv/hv_util.c+24 -53 replies
10/25Staging: hv: vmbus: Return proper error code in vmbus_remove()drivers/staging/hv/vmbus_drv.c+2 -24 replies
11/25Staging: hv: util: Properly handle util services in the util driverdrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hv_kvp.c drivers/staging/hv/hv_util.c+36 -730 replies
12/25Staging: hv: vmbus: Get rid of hv_cb_utils[] and other unneeded codedrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv.h+0 -1020 replies
13/25Staging: hv: vmbus: Get rid of the module dependencydrivers/staging/hv/Kconfig+1 -10 replies
14/25Staging: hv: vmbus: Introduce functions for setting and getting driver datadrivers/staging/hv/hyperv.h+9 -00 replies
15/25Staging: hv: storvsc: Get rid of storvsc_dev_add() by inlining the codedrivers/staging/hv/storvsc_drv.c+14 -440 replies
16/25Staging: hv: storvsc: Get rid of alloc_stor_device() by inlining the codedrivers/staging/hv/storvsc_drv.c+6 -180 replies
17/25Staging: hv: storvsc: Get rid of some unnecessary state and definitionsdrivers/staging/hv/storvsc_drv.c+0 -90 replies
18/25Staging: hv: storvsc: Eliminate the usage of ext field in struct hv_devicedrivers/staging/hv/storvsc_drv.c+15 -93 replies
19/25Staging: hv: netvsc: Get rid of the usage of the ext field in struct hv_devicedrivers/staging/hv/hyperv_net.h drivers/staging/hv/netvsc.c drivers/staging/hv/netvsc_drv.c +1 more+100 -570 replies
20/25Staging: hv: mousevsc: Get rid of the usage of the ext field in struct hv_devicedrivers/staging/hv/hv_mouse.c+9 -90 replies
21/25Staging: hv: vmbus: Get rid of the ext field in struct hv_devicedrivers/staging/hv/hyperv.h+0 -30 replies
22/25Staging: hv: vmbus: Do not allocate struct hv_device_info on the stackdrivers/staging/hv/vmbus_drv.c+69 -650 replies
23/25Staging: hv: netvsc: Rename netDevice as net_devicedrivers/staging/hv/netvsc.c drivers/staging/hv/rndis_filter.c+14 -110 replies
24/25Staging: hv: netvsc: Rename rndisDevice to rndis_devicedrivers/staging/hv/rndis_filter.c+12 -120 replies
25/25Staging: hv: netvsc: Rename deviceInfo as device_infodrivers/staging/hv/rndis_filter.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0000/0025] Staging: hv: Driver cleanup

Address Greg's VmBus audit comments:

1) Leverage driver_data field in struct hv_vmbus_device_id to simplify driver code.

2) Make the util driver conform to the Linux Driver Model.

3) Get rid of the ext field in struct hv_device by using the driver specific data functionality.

4) Other general cleanup.

Regards,

K. Y