staging: unisys: visorbus: fix typos with client_bus_info /sys entry
authorTim Sell <Timothy.Sell@unisys.com>
Tue, 27 Sep 2016 18:42:23 +0000 (14:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2016 09:30:52 +0000 (11:30 +0200)
Example corrected output:

    $ pwd
    /sys/bus/visorbus/devices/visorbus1
    $ cat client_bus_info
    Client device / client driver info for s-Par Console partition
 (vbus #1):
       chipset         visorchipset    kernel ver. 4.8.0-rc6-ARCH+
       clientbus       visorbus        kernel ver. 4.8.0-rc6-ARCH+
    [2]keyboard        visorinput      kernel ver. 4.8.0-rc6-ARCH+
    [3]mouse           visorinput      kernel ver. 4.8.0-rc6-ARCH+

    $ cat ../visorbus2/client_bus_info
    Client device / client driver info for s-Par IOVM partition
         (vbus #2):
       chipset         visorchipset    kernel ver. 4.8.0-rc6-ARCH+
       clientbus       visorbus        kernel ver. 4.8.0-rc6-ARCH+
    [0]ultravnic       visornic        kernel ver. 4.8.0-rc6-ARCH+
    [1]ultravnic       visornic        kernel ver. 4.8.0-rc6-ARCH+
    [2]sparvhba        visorhba        kernel ver. 4.8.0-rc6-ARCH+

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c

index 2b4abda0fa9e59836fe4db8aea66b8a4fdbcfc06..fec0a54916fe14e3cfb9fe7d5c5adbf749243f8e 100644 (file)
@@ -361,8 +361,8 @@ static ssize_t client_bus_info_show(struct device *dev,
                if (vdev->name)
                        partition_name = vdev->name;
                shift = snprintf(pos, remain,
-                                "Client device / client driver info for %s eartition (vbus #%u):\n",
-                                partition_name, vdev->chipset_dev_no);
+                                "Client device / client driver info for %s partition (vbus #%u):\n",
+                                partition_name, vdev->chipset_bus_no);
                pos += shift;
                remain -= shift;
                shift = visorchannel_read(channel,