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:
Bhadram Varka
2021-09-03 10:09:39 +05:30
committed by Revanth Kumar Uppala
parent e6cde88eb8
commit a9119fc654
2 changed files with 3 additions and 3 deletions

View File

@@ -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;