aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-03-13 11:27:22 -0700
committerDavid S. Miller <davem@davemloft.net>2020-03-13 11:27:22 -0700
commit48f5d5cb80b4e414cb97dd7dba43b0370bdee130 (patch)
tree6e4f449d31a3fba7da5f881b8ce823d9a66fb599 /include
parentethtool: fix spelling mistake "exceeeds" -> "exceeds" (diff)
parentcfg802154: Replace zero-length array with flexible-array member (diff)
downloadlinux-dev-48f5d5cb80b4e414cb97dd7dba43b0370bdee130.tar.xz
linux-dev-48f5d5cb80b4e414cb97dd7dba43b0370bdee130.zip
Merge tag 'ieee802154-for-davem-2020-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next
Stefan Schmidt says: ==================== pull-request: ieee802154-next 2020-03-13 An update from ieee802154 for *net-next* Two small patches with updates targeting the whole tree. Sergin does update SPI drivers to the new transfer delay handling and Gustavo did one of his zero-length array replacement patches. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg802154.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index 6f86073a5d7d..6ed07844eb24 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -214,7 +214,7 @@ struct wpan_phy {
/* the network namespace this phy lives in currently */
possible_net_t _net;
- char priv[0] __aligned(NETDEV_ALIGN);
+ char priv[] __aligned(NETDEV_ALIGN);
};
static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy)