Tag config space fields as having virtio endian-ness.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 26 | 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 27 | 27 | * SUCH DAMAGE. */ |
| 28 | −#include <linux/types.h> | |
| 28 | +#include <linux/virtio_types.h> | |
| 29 | 29 | #include <linux/virtio_ids.h> |
| 30 | 30 | #include <linux/virtio_config.h> |
| 31 | 31 | |
| @@ -36,7 +36,7 @@ · 4 unmodified lines | ||
| 36 | 36 | |
| 37 | 37 | struct virtio_9p_config { |
| 38 | 38 | /* length of the tag name */ |
| 39 | − __u16 tag_len; | |
| 39 | + __virtio16 tag_len; | |
| 40 | 40 | /* non-NULL terminated tag name */ |
| 41 | 41 | __u8 tag[0]; |
| 42 | 42 | } __attribute__((packed)); |