.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1779:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1779 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1782:39: note: uninitialized use occurs here 1782 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1779:3: note: remove the 'if' if its condition is always true 1779 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1780 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1779:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1779 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1782:39: note: uninitialized use occurs here 1782 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1779:7: note: remove the '&&' if its condition is always true 1779 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1774:16: note: initialize the variable 'fwd_entry' to silence this warning 1774 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:1942:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1942 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1951:38: note: uninitialized use occurs here 1951 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1942:9: note: remove the 'if' if its condition is always false 1942 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 1943 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1944 | &mac_vid); | ~~~~~~~~~~ 1945 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1939:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1939 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1951:38: note: uninitialized use occurs here 1951 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1939:2: note: remove the 'if' if its condition is always false 1939 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 1940 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1941 | &mac_vid); | ~~~~~~~~~~ 1942 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1937:15: note: initialize the variable 'fwd_entry' to silence this warning 1937 | u32 fwd_entry; | ^ | = 0 4 warnings generated. .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/dsa/b53/b53_common.c:1782:7: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1782 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1785:39: note: uninitialized use occurs here 1785 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1782:3: note: remove the 'if' if its condition is always true 1782 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1783 | b53_read32(dev, B53_ARLIO_PAGE, ../drivers/net/dsa/b53/b53_common.c:1782:7: warning: variable 'fwd_entry' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1782 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1785:39: note: uninitialized use occurs here 1785 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1782:7: note: remove the '&&' if its condition is always true 1782 | if (!is5325(dev) && !is5365(dev)) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1777:16: note: initialize the variable 'fwd_entry' to silence this warning 1777 | u32 fwd_entry; | ^ | = 0 ../drivers/net/dsa/b53/b53_common.c:1945:13: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1945 | } else if (is5365(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1954:38: note: uninitialized use occurs here 1954 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1945:9: note: remove the 'if' if its condition is always false 1945 | } else if (is5365(dev)) { | ^~~~~~~~~~~~~~~~~~ 1946 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_65, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1947 | &mac_vid); | ~~~~~~~~~~ 1948 | } else { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1942:6: warning: variable 'fwd_entry' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1942 | if (is5325(dev)) { | ^~~~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1954:38: note: uninitialized use occurs here 1954 | b53_arl_to_entry(dev, ent, mac_vid, fwd_entry); | ^~~~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1942:2: note: remove the 'if' if its condition is always false 1942 | if (is5325(dev)) { | ^~~~~~~~~~~~~~~~~~ 1943 | b53_read64(dev, B53_ARLIO_PAGE, B53_ARL_SRCH_RSTL_0_MACVID_25, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1944 | &mac_vid); | ~~~~~~~~~~ 1945 | } else if (is5365(dev)) { | ~~~~~~ ../drivers/net/dsa/b53/b53_common.c:1940:15: note: initialize the variable 'fwd_entry' to silence this warning 1940 | u32 fwd_entry; | ^ | = 0 4 warnings generated.