Skip to content

Commit a3a4d6c

Browse files
aloktiwaliuw
authored andcommitted
Drivers: hv: vmbus: Fix typos in vmbus_drv.c
Fix two minor typos in vmbus_drv.c: - Correct "reponsible" -> "responsible" in a comment. - Add missing newline in pr_err() message ("channeln" -> "channel\n"). These are cosmetic changes only and do not affect functionality. Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent 332bf98 commit a3a4d6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/hv/vmbus_drv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ static const struct kobj_type vmbus_chan_ktype = {
19471947
* is running.
19481948
* For example, HV_NIC device is used either by uio_hv_generic or hv_netvsc at any given point of
19491949
* time, and "ring" sysfs is needed only when uio_hv_generic is bound to that device. To avoid
1950-
* exposing the ring buffer by default, this function is reponsible to enable visibility of
1950+
* exposing the ring buffer by default, this function is responsible to enable visibility of
19511951
* ring for userspace to use.
19521952
* Note: Race conditions can happen with userspace and it is not encouraged to create new
19531953
* use-cases for this. This was added to maintain backward compatibility, while solving
@@ -2110,7 +2110,7 @@ int vmbus_device_register(struct hv_device *child_device_obj)
21102110
ret = vmbus_add_channel_kobj(child_device_obj,
21112111
child_device_obj->channel);
21122112
if (ret) {
2113-
pr_err("Unable to register primary channeln");
2113+
pr_err("Unable to register primary channel\n");
21142114
goto err_kset_unregister;
21152115
}
21162116
hv_debug_add_dev_dir(child_device_obj);

0 commit comments

Comments
 (0)