mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: Fix CERT INT31-C issues in sysfs.c
Cert error reported in https://sccovlink:8443/reports.htm#v17826/p10248/g17826g CID 565796 Bug 3745813 Change-Id: I1edb8bb1de6f4d28f5b1a5eaf14bc33bcb5a829c Signed-off-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2765590 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
8ff195acb5
commit
c896399b53
@@ -1696,7 +1696,8 @@ static ssize_t macsec_sc_state_lut_store(struct device *dev,
|
||||
struct osi_core_priv_data *osi_core = pdata->osi_core;
|
||||
struct osi_macsec_lut_config lut_config;
|
||||
int index, ctlr;
|
||||
int ret, curr_an;
|
||||
int ret;
|
||||
nveu32_t curr_an;
|
||||
|
||||
if (!netif_running(ndev)) {
|
||||
dev_err(pdata->dev, "Not Allowed. Ether interface is not up\n");
|
||||
|
||||
Reference in New Issue
Block a user