mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
virtio_blk: remove multichar constant.
drivers/block/virtio_blk.c:228:13: warning: multi-character character constant Signed-off-by: Rusty Russell <[email protected]> Cc: john cooper <[email protected]>
This commit is contained in:
parent
234f2725a5
commit
bdb4a13057
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue