]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: fix format of sysfs driver/vendor files
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 10 Nov 2010 06:20:29 +0000 (22:20 -0800)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Nov 2010 04:51:12 +0000 (15:21 +1030)
commit8a0d136a37b7d1c659b634dc683c3067d076445b
treeb16de122d65f8f2891748e76f94bc117dfaaa396
parent2faa94b8213f52e22606135a042523b5092cd2c7
virtio: fix format of sysfs driver/vendor files

The sysfs files for virtio produce the wrong format and are missing
the required newline. The output for virtio bus vendor/device should
have the same format as the corresponding entries for PCI devices.

Although this technically changes the ABI for sysfs, these files were
broken to start with!

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c