.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1852:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1852 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1855:39: note: uninitialized use occurs here 1855 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1852:3: note: remove the 'if' if its condition is always true 1852 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1853 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1852:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1852 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1855:39: note: uninitialized use occurs here 1855 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1852:7: note: remove the '&&' if its condition is always true 1852 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1847:16: note: initialize the variable 'fwd_entry' to silence this warning 1847 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:2015:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2015 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2024:38: note: uninitialized use occurs here 2024 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2015:9: note: remove the 'if' if its condition is always false 2015 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 2016 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2017 | &mac_vid); | ~~~~~~~~~~ 2018 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2012:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2012 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2024:38: note: uninitialized use occurs here 2024 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2012:2: note: remove the 'if' if its condition is always false 2012 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 2013 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2014 | &mac_vid); | ~~~~~~~~~~ 2015 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2010:15: note: initialize the variable 'fwd_entry' to silence this warning 2010 | u32 fwd_entry; | ^ | = 0 4 warnings generated. .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1855:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1855 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1858:39: note: uninitialized use occurs here 1858 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1855:3: note: remove the 'if' if its condition is always true 1855 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1856 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1855:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1855 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1858:39: note: uninitialized use occurs here 1858 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1855:7: note: remove the '&&' if its condition is always true 1855 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1850:16: note: initialize the variable 'fwd_entry' to silence this warning 1850 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:2018:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2018 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2027:38: note: uninitialized use occurs here 2027 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2018:9: note: remove the 'if' if its condition is always false 2018 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 2019 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2020 | &mac_vid); | ~~~~~~~~~~ 2021 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2015:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2015 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2027:38: note: uninitialized use occurs here 2027 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2015:2: note: remove the 'if' if its condition is always false 2015 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 2016 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2017 | &mac_vid); | ~~~~~~~~~~ 2018 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:2013:15: note: initialize the variable 'fwd_entry' to silence this warning 2013 | u32 fwd_entry; | ^ | = 0 4 warnings generated.