diff options
| author | 2018-11-17 16:53:46 -0800 | |
|---|---|---|
| committer | 2018-11-17 16:53:46 -0800 | |
| commit | 6f0271d92963bc8588ad7058622ec7b1e94852de (patch) | |
| tree | 6da9106579a3209ce868af5d0b653383465876c0 /include/linux | |
| parent | tuntap: free XDP dropped packets in a batch (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
