Bug 2341 - drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:288 cn10k_mcs_write_sc_cam() warn: ignoring unreachable code.
Summary: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:288 cn10k_mcs_write...
Status: NEW
Alias: None
Product: Upstream
Classification: Unclassified
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: abaci-robot
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-08 15:18 UTC by abaci-robot
Modified: 2022-10-08 15:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abaci-robot alibaba_cloud_group 2022-10-08 15:18:37 UTC
ABACI reported the following bug by code static scanning:

drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:288 cn10k_mcs_write_sc_cam() warn: ignoring unreachable code.

drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:598 cn10k_mcs_ena_dis_flowid() warn: ignoring unreachable code.

In the following kernel version:

[+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
[+]branch: next-20221006
[+]commit: 4d80748d16c82a9c2c4ea5feea96e476de3cd876