summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio.c
diff options
context:
space:
mode:
authorSolomon Tan <solomonbstoner@protonmail.ch>2022-04-18 02:54:35 +0000
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 12:45:09 -0400
commit3153234097f6a0d06981565eb3eec3cb37dea8f8 (patch)
treeb623f15d28ed5765c07ee96fc7a1e0f76969f597 /drivers/virtio/virtio.c
parent4e0d352af04cf4e019d3e45229eaaff9e8ffb33d (diff)
virtio: Replace unsigned with unsigned int
This patch addresses the checkpatch.pl warning where unsigned int is preferred over unsigned. Signed-off-by: Solomon Tan <solomonbstoner@protonmail.ch> Message-Id: <YlzS49Wo8JMDhKOt@ArchDesktop> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio.c')
-rw-r--r--drivers/virtio/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index 22f15f444f75..ce424c16997d 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -169,7 +169,7 @@ EXPORT_SYMBOL_GPL(virtio_add_status);
/* Do some validation, then set FEATURES_OK */
static int virtio_features_ok(struct virtio_device *dev)
{
- unsigned status;
+ unsigned int status;
int ret;
might_sleep();