mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvethernet: Address review comments on HSI changes
Bug 3590939 Change-Id: Id7bf154880a8f566a9807a3c3c7c210766d48c03 Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2801131 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2806411 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7fc04f1749
commit
6c7d05d9bb
@@ -146,7 +146,7 @@ static irqreturn_t ether_common_isr_thread(int irq, void *data)
|
||||
/* Called from ether_hsi_work */
|
||||
if (osi_core->hsi.report_err && irq == 0) {
|
||||
osi_core->hsi.report_err = OSI_DISABLE;
|
||||
for (i = 0; i < HSI_MAX_MAC_ERROR_CODE; i++) {
|
||||
for (i = 0; i < OSI_HSI_MAX_MAC_ERROR_CODE; i++) {
|
||||
if (osi_core->hsi.err_code[i] > 0) {
|
||||
error_report.error_code =
|
||||
osi_core->hsi.err_code[i];
|
||||
@@ -189,7 +189,7 @@ static irqreturn_t ether_common_isr_thread(int irq, void *data)
|
||||
|
||||
/* Called from interrupt handler */
|
||||
if (osi_core->hsi.report_err && irq != 0) {
|
||||
for (i = 0; i < HSI_MAX_MAC_ERROR_CODE; i++) {
|
||||
for (i = 0; i < OSI_HSI_MAX_MAC_ERROR_CODE; i++) {
|
||||
if (osi_core->hsi.err_code[i] > 0 &&
|
||||
osi_core->hsi.report_count_err[i] == OSI_ENABLE) {
|
||||
error_report.error_code =
|
||||
|
||||
Reference in New Issue
Block a user