.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1799:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1799 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1802:39: note: uninitialized use occurs here 1802 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1799:3: note: remove the 'if' if its condition is always true 1799 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1800 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1799:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1799 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1802:39: note: uninitialized use occurs here 1802 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1799:7: note: remove the '&&' if its condition is always true 1799 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1794:16: note: initialize the variable 'fwd_entry' to silence this warning 1794 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:1962:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1962 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1971:38: note: uninitialized use occurs here 1971 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1962:9: note: remove the 'if' if its condition is always false 1962 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 1963 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1964 | &mac_vid); | ~~~~~~~~~~ 1965 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1959:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1959 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1971:38: note: uninitialized use occurs here 1971 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1959:2: note: remove the 'if' if its condition is always false 1959 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 1960 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1961 | &mac_vid); | ~~~~~~~~~~ 1962 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1957:15: note: initialize the variable 'fwd_entry' to silence this warning 1957 | u32 fwd_entry; | ^ | = 0 4 warnings generated. .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1848:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1848 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1851:39: note: uninitialized use occurs here 1851 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1848:3: note: remove the 'if' if its condition is always true 1848 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1849 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1848:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1848 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1851:39: note: uninitialized use occurs here 1851 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1848:7: note: remove the '&&' if its condition is always true 1848 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1843:16: note: initialize the variable 'fwd_entry' to silence this warning 1843 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:2011:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2011 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2020:38: note: uninitialized use occurs here 2020 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2011:9: note: remove the 'if' if its condition is always false 2011 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 2012 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2013 | &mac_vid); | ~~~~~~~~~~ 2014 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2008:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2008 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2020:38: note: uninitialized use occurs here 2020 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2008:2: note: remove the 'if' if its condition is always false 2008 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 2009 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2010 | &mac_vid); | ~~~~~~~~~~ 2011 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2006:15: note: initialize the variable 'fwd_entry' to silence this warning 2006 | u32 fwd_entry; | ^ | = 0 4 warnings generated.