mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: fix kernel warning test failure
Fixes below kernel warining failure - nvethernet 6810000.ethernet: ether_parse_queue_prio():Wrong or duplicate priority in DT entry for Q(8) Bug 200764680 Change-Id: I5cbfc2f4418cb67945bedcace58699e12532b1d4 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2588524 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
e6cde88eb8
commit
a9119fc654
@@ -5308,7 +5308,7 @@ static void ether_parse_queue_prio(struct ether_priv_data *pdata,
|
||||
for (i = 0; i < num_entries; i++) {
|
||||
mtlq = osi_core->mtl_queues[i];
|
||||
if ((tval[i] > val_max) || ((pmask & (1U << tval[i])) != 0U)) {
|
||||
dev_err(pdata->dev, "%s():Wrong or duplicate priority"
|
||||
dev_dbg(pdata->dev, "%s():Wrong or duplicate priority"
|
||||
" in DT entry for Q(%d)\n", __func__, mtlq);
|
||||
pval[mtlq] = val_def;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user