lkml.org 
[lkml]   [2019]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: ipva: fix uninitialized variable warning
From
From: Charles <18oliveira.charles@gmail.com>
Date: Thu, 13 Jun 2019 14:28:41 -0300

> Avoid following compiler warning on uninitialized variable
>
> net/ipv4/fib_semantics.c: In function ‘fib_check_nh_v4_gw’:
> net/ipv4/fib_semantics.c:1023:12: warning: ‘err’ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> if (!tbl || err) {
>
> Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com>

This is already fixed in the 'net' GIT tree, please always submit networking
patches against the appropriate tree.

Thank you.
\
 
 \ /
  Last update: 2019-06-15 22:37    [W:0.065 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site