summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-09-29 16:27:51 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-29 23:27:43 +0300
commit2c956a5ad4de7376ee792e888809edf2b2b39b86 (patch)
tree54f2d96cf9560aeb6ec36e3cc73630a8a5d15280 /drivers/net/tun.c
parent3f47cb4c1cf3bceb2438ea962bfffc6665ee4a9f (diff)
downloadlinux-2c956a5ad4de7376ee792e888809edf2b2b39b86.tar.xz
fddi/skfp: Avoid the use of one-element array
One-element arrays are being deprecated[1]. Replace the one-element array with a simple object of type u_char: 'u_char rm_pad1'[2], once it seems this is just a placeholder for padding. [1] https://www.kernel.org/doc/html/v5.9-rc1/process/deprecated.html#zero-length-and-one-element-arrays [2] https://github.com/KSPP/linux/issues/86 Built-tested-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/5f72c23f.%2FkPBWcZBu+W6HKH4%25lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions