]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/nlattr.c
drm/bridge: adv7511: Re-write the i2c address before EDID probing
[linux.git] / lib / nlattr.c
index fce1e9afc6d97a3a27787d44b48590a5850138aa..b42b8577fc2346045c4d88ede93960bf1cd8f3e7 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/types.h>
 #include <net/netlink.h>
 
-static const u16 nla_attr_minlen[NLA_TYPE_MAX+1] = {
+static const u8 nla_attr_minlen[NLA_TYPE_MAX+1] = {
        [NLA_U8]        = sizeof(u8),
        [NLA_U16]       = sizeof(u16),
        [NLA_U32]       = sizeof(u32),