]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
genirq/msi: Clean up usage of __u8/__u16 types
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 8 Feb 2019 16:54:38 +0000 (09:54 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Feb 2019 19:30:10 +0000 (13:30 -0600)
The double underscore types are meant for compatibility in userspace
headers which does not apply here. Therefore, change to use the standard
no-underscore types.

The origin of the double underscore types dates back to before the git era
so I was not able to find a commit to see the original justification.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/msi.h

index 784fb52b99002a2f7e8416113b529541c6e13162..7e9b81c3b50d923f9a4c41d24215e3f0683ad425 100644 (file)
@@ -83,12 +83,12 @@ struct msi_desc {
                struct {
                        u32 masked;
                        struct {
-                               __u8    is_msix         : 1;
-                               __u8    multiple        : 3;
-                               __u8    multi_cap       : 3;
-                               __u8    maskbit         : 1;
-                               __u8    is_64           : 1;
-                               __u16   entry_nr;
+                               u8      is_msix         : 1;
+                               u8      multiple        : 3;
+                               u8      multi_cap       : 3;
+                               u8      maskbit         : 1;
+                               u8      is_64           : 1;
+                               u16     entry_nr;
                                unsigned default_irq;
                        } msi_attrib;
                        union {