.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1764:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1764 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1767:39: note: uninitialized use occurs here 1767 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1764:3: note: remove the 'if' if its condition is always true 1764 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1765 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1764:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1764 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1767:39: note: uninitialized use occurs here 1767 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1764:7: note: remove the '&&' if its condition is always true 1764 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1759:16: note: initialize the variable 'fwd_entry' to silence this warning 1759 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:1927:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1927 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1936:38: note: uninitialized use occurs here 1936 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1927:9: note: remove the 'if' if its condition is always false 1927 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 1928 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1929 | &mac_vid); | ~~~~~~~~~~ 1930 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1924:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1924 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1936:38: note: uninitialized use occurs here 1936 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1924:2: note: remove the 'if' if its condition is always false 1924 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 1925 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1926 | &mac_vid); | ~~~~~~~~~~ 1927 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1922:15: note: initialize the variable 'fwd_entry' to silence this warning 1922 | u32 fwd_entry; | ^ | = 0 4 warnings generated. .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1773:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1773 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1776:39: note: uninitialized use occurs here 1776 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1773:3: note: remove the 'if' if its condition is always true 1773 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1774 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1773:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1773 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1776:39: note: uninitialized use occurs here 1776 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1773:7: note: remove the '&&' if its condition is always true 1773 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1768:16: note: initialize the variable 'fwd_entry' to silence this warning 1768 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:1936:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1936 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1945:38: note: uninitialized use occurs here 1945 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1936:9: note: remove the 'if' if its condition is always false 1936 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 1937 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1938 | &mac_vid); | ~~~~~~~~~~ 1939 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1933:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1933 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1945:38: note: uninitialized use occurs here 1945 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1933:2: note: remove the 'if' if its condition is always false 1933 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 1934 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1935 | &mac_vid); | ~~~~~~~~~~ 1936 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1931:15: note: initialize the variable 'fwd_entry' to silence this warning 1931 | u32 fwd_entry; | ^ | = 0 4 warnings generated.