> +static uint64_t get_features(VirtIODevice *vdev, uint64_t features, > + Error **errp) > +{ > + /* > + * virtio-v1.2-csd01, 5.14.3, > + * Feature Bits > + * None currently defined. > + */ > + trace_virtio_snd_get_features(vdev, features); > + return features | 1UL << VIRTIO_F_VERSION_1 | 1UL << > VIRTIO_F_IN_ORDER; > > > ../hw/virtio/virtio-snd.c: In function 'get_features': > ../hw/virtio/virtio-snd.c:883:27: error: left shift count >= width of type > [-Werror=shift-count-overflow] > 883 | return features | 1UL << VIRTIO_F_VERSION_1 | 1UL << > VIRTIO_F_IN_ORDER; > | ^~ > ../hw/virtio/virtio-snd.c:883:55: error: left shift count >= width of type > [-Werror=shift-count-overflow] > 883 | return features | 1UL << VIRTIO_F_VERSION_1 | 1UL << > VIRTIO_F_IN_ORDER; > | ^~ >
Same. https://lore.kernel.org/all/caj+f1cjdbcsdhu8wmidds_q7ddcj6rpole2xh_ebqkqjttm...@mail.gmail.com/ Pls use a different client and pls only quote relevant part of message. -- MST