Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdb4a130 authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio_blk: remove multichar constant.



drivers/block/virtio_blk.c:228:13: warning: multi-character character constant

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: john cooper <john.cooper@redhat.com>
parent 234f2725
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ static int virtblk_ioctl(struct block_device *bdev, fmode_t mode,
	struct gendisk *disk = bdev->bd_disk;
	struct virtio_blk *vblk = disk->private_data;

	if (cmd == 'VBID') {
	if (cmd == 0x56424944) { /* 'VBID' */
		void __user *usr_data = (void __user *)data;
		char id_str[VIRTIO_BLK_ID_BYTES];
		int err;