diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-09 12:50:53 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-05-15 12:20:54 +0200 |
commit | fb317002ab4419ae7e068bee6897f2d5745aa3b9 (patch) | |
tree | a7b0ecb0afa7650e2c66706c9f6ec492d671442e /drivers/infiniband/hw/mlx5/main.c | |
parent | s390: convert debug_info.ref_count from atomic_t to refcount_t (diff) | |
download | linux-dev-fb317002ab4419ae7e068bee6897f2d5745aa3b9.tar.xz linux-dev-fb317002ab4419ae7e068bee6897f2d5745aa3b9.zip |
s390/virtio: change virtio_feature_desc:features type to __le32
The feature member of virtio_feature_desc contains little endian
values, given that it contents will be converted with
le32_to_cpu(). The "wrong" __u32 type leads to the sparse warnings
below.
In order to avoid them, use the correct __le32 type instead.
drivers/s390/virtio/virtio_ccw.c:749:14: warning: cast to restricted __le32
drivers/s390/virtio/virtio_ccw.c:762:28: warning: cast to restricted __le32
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions