summaryrefslogtreecommitdiff
path: root/drivers/pwm/sysfs.c
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@nvidia.com>2022-03-01 05:04:29 +0000
committerDavid S. Miller <davem@davemloft.net>2022-03-01 08:38:01 +0000
commitfba55a66e8ecd1855a77df7e6f296cc5ccffa202 (patch)
tree3ed3a3eb2153e335a36b9c473c078f046efeaaa9 /drivers/pwm/sysfs.c
parent6765393614ea8e2c0a7b953063513823f87c9115 (diff)
vxlan_core: fix build warnings in vxlan_xmit_one
Fix the below build warnings reported by kernel test robot: - initialize vni in vxlan_xmit_one - wrap label in ipv6 enabled checks in vxlan_xmit_one warnings: static drivers/net/vxlan/vxlan_core.c:2437:14: warning: variable 'label' set but not used [-Wunused-but-set-variable] __be32 vni, label; ^ >> drivers/net/vxlan/vxlan_core.c:2483:7: warning: variable 'vni' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Roopa Prabhu <roopa@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm/sysfs.c')
0 files changed, 0 insertions, 0 deletions