Skip to content
Commit c8e82e38 authored by Dawei Li's avatar Dawei Li Committed by Michael S. Tsirkin
Browse files

virtio: Implementing attribute show with sysfs_emit



Replace sprintf with sysfs_emit or its variants for their
built-in PAGE_SIZE awareness.

Signed-off-by: default avatarDawei Li <set_pte_at@outlook.com>
Message-Id: <TYCP286MB23232A999FE7DBDF50BA0FAACA0F9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent b1d65f71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment