lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <6445a450-d15f-be32-818a-4bb1c11ef429@intel.com> Date: Mon, 12 Sep 2022 15:01:21 -0700 From: Tony Nguyen <anthony.l.nguyen@...el.com> To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>, <jesse.brandeburg@...el.com> CC: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>, <intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Abaci Robot <abaci@...ux.alibaba.com> Subject: Re: [PATCH] iavf: Remove useless else if On 9/8/2022 8:32 PM, Jiapeng Chong wrote: > The assignment of the else and else if branches is the same, so the else > if here is redundant, so we remove it and add a comment to make the code > here readable. > > ./drivers/net/ethernet/intel/iavf/iavf_main.c:2211:6-8: WARNING: possible condition with no effect (if == else). This was already nacked by Jakub [1]. Thanks, Tony > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2106 > Reported-by: Abaci Robot <abaci@...ux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com> [1] https://lore.kernel.org/netdev/20220801091355.6ca23bcf@kernel.org/
Powered by blists - more mailing lists