aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/run-clang-tools.py
diff options
context:
space:
mode:
authorZhu Lingshan <[email protected]>2022-09-29 01:45:55 +0000
committerMichael S. Tsirkin <[email protected]>2022-10-08 00:00:44 +0000
commit41a2ad927aa23ef7a2cbf26a1f77fb8ee421ca30 (patch)
tree88002c32465b573172b1c1b4cab595b63c3d35fd /scripts/clang-tools/run-clang-tools.py
parentvDPA: fix spars cast warning in vdpa_dev_net_mq_config_fill (diff)
downloadkernel-41a2ad927aa23ef7a2cbf26a1f77fb8ee421ca30.tar.gz
kernel-41a2ad927aa23ef7a2cbf26a1f77fb8ee421ca30.zip
vDPA: conditionally read MTU and MAC in dev cfg space
The spec says: mtu only exists if VIRTIO_NET_F_MTU is set The mac address field always exists (though is only valid if VIRTIO_NET_F_MAC is set) So vdpa_dev_net_config_fill() should read MTU and MAC conditionally on the feature bits. Signed-off-by: Zhu Lingshan <[email protected]> Acked-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions