Module Name: src Committed By: uwe Date: Wed Apr 13 10:56:11 UTC 2022
Modified Files: src/sys/dev/pci: virtioreg.h Log Message: virtio: Use UINT64_C() instead of explicit ULL suffix. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/virtioreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/virtioreg.h diff -u src/sys/dev/pci/virtioreg.h:1.9 src/sys/dev/pci/virtioreg.h:1.10 --- src/sys/dev/pci/virtioreg.h:1.9 Wed Apr 13 10:50:28 2022 +++ src/sys/dev/pci/virtioreg.h Wed Apr 13 10:56:11 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: virtioreg.h,v 1.9 2022/04/13 10:50:28 uwe Exp $ */ +/* $NetBSD: virtioreg.h,v 1.10 2022/04/13 10:56:11 uwe Exp $ */ /* * Copyright (c) 2010 Minoura Makoto. @@ -83,7 +83,7 @@ #define VIRTIO_F_RING_INDIRECT_DESC (1<<28) #define VIRTIO_F_RING_EVENT_IDX (1<<29) #define VIRTIO_F_BAD_FEATURE (1<<30) -#define VIRTIO_F_VERSION_1 (1ULL<<32) +#define VIRTIO_F_VERSION_1 (UINT64_C(1) << 32) /* common device status flags */ #define VIRTIO_CONFIG_DEVICE_STATUS_RESET 0