drivers:net:ethernet:remove repeating expression
Subsystems (3)
PATCH 1/1 drivers:net:ethernet:remove repeating expression
Identify issues that arise by using the tests/doublebitand.cocci semantic patch.Need to remove duplicate expression in statement.
--- drivers/net/ethernet/wangxun/libwx/wx_hw.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/wangxun/libwx/wx_hw.c +0 -1
@@ -1511,7 +1511,6 @@ static void wx_configure_rx(struct wx *wx) psrtype =WX_RDB_PL_CFG_L4HDR |WX_RDB_PL_CFG_L3HDR |WX_RDB_PL_CFG_L2HDR | -WX_RDB_PL_CFG_TUN_TUNHDR |WX_RDB_PL_CFG_TUN_TUNHDR ;wr32 (wx,WX_RDB_PL_CFG (0 ), psrtype);
--
2.25.1
________________________________
本邮件及其附件内容可能含有机密和/或隐私信息,仅供指定个人或机构使用。若您非发件人指定收件人或其代理人,请勿使用、传播、复制或存储此邮件之任何内容或其附件。如您误收本邮件,请即以回复或电话方式通知发件人,并将原始邮件、附件及其所有复本删除。谢谢。
The contents of this message and any attachments may contain confidential and/or privileged information and are intended exclusively for the addressee(s). If you are not the intended recipient of this message or their agent, please note that any use, dissemination, copying, or storage of this message or its attachments is not allowed. If you receive this message in error, please notify the sender by reply the message or phone and delete this message, any attachments and any copies immediately. Thank you
Quoted 6 lines · Wang Ming
Identify issues that arise by using the
tests/doublebitand.coccisemantic patch.Need to remove duplicate expression in statement.Signed-off-by Wang Ming <[email protected]>---
Please fix the patch format (subject) so that patch goes through CI/sanity checks.
https://www.kernel.org/doc/html/v5.7/process/submitting-patches.html
Quoted 3 lines
drivers/net/ethernet/wangxun/libwx/wx_hw.c | 1 - 1 file changed, 1 deletion(-)
Thanks, I will fix the patch format(subject).
-----邮件原件-----
发件人: Pavan Chebbi <[email protected]>
发送时间: 2023年6月14日 21:49
收件人: 王明-软件底层技术部 <[email protected]>
抄送: Jiawen Wu <[email protected]>; Mengyuan Lou <[email protected]>; David S. Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni <[email protected]>; Stephen Rothwell <[email protected]>; [email protected]; [email protected]; opensource.kernel <[email protected]> 主题: Re: [PATCH v1] drivers:net:ethernet:remove repeating expression
Quoted 6 lines · Wang Ming
Identify issues that arise by using the
tests/doublebitand.coccisemantic patch.Need to remove duplicate expression in statement.Signed-off-by Wang Ming <[email protected]>---
Please fix the patch format (subject) so that patch goes through CI/sanity checks.
https://www.kernel.org/doc/html/v5.7/process/submitting-patches.html
Quoted 3 lines
drivers/net/ethernet/wangxun/libwx/wx_hw.c | 1 - 1 file changed, 1 deletion(-)