commit | 6f0271d92963bc8588ad7058622ec7b1e94852de | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Nov 17 16:53:46 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 17 16:53:46 2018 -0800 |
tree | 6da9106579a3209ce868af5d0b653383465876c0 | |
parent | f9e06c45cb28beb30a6a474952ead7da2b8940f3 [diff] |
tun: Adjust on-stack tun_page initialization. Instead of constantly playing with the struct initializer syntax trying to make gcc and CLang both happy, just clear it out using memset(). >> drivers/net/tun.c:2503:42: warning: Using plain integer as NULL pointer Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>