mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: enic: use correct type specifier
i is defined as unsigned. So print it with %u. Signed-off-by: Heinrich Schuchardt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
4c2e9e2996
commit
8d546f58ec
1 changed files with 2 additions and 2 deletions
|
|
@ -1566,7 +1566,7 @@ static int enic_request_intr(struct enic *enic)
|
|||
intr = enic_msix_rq_intr(enic, i);
|
||||
snprintf(enic->msix[intr].devname,
|
||||
sizeof(enic->msix[intr].devname),
|
||||
"%.11s-rx-%d", netdev->name, i);
|
||||
"%.11s-rx-%u", netdev->name, i);
|
||||
enic->msix[intr].isr = enic_isr_msix;
|
||||
enic->msix[intr].devid = &enic->napi[i];
|
||||
}
|
||||
|
|
@ -1577,7 +1577,7 @@ static int enic_request_intr(struct enic *enic)
|
|||
intr = enic_msix_wq_intr(enic, i);
|
||||
snprintf(enic->msix[intr].devname,
|
||||
sizeof(enic->msix[intr].devname),
|
||||
"%.11s-tx-%d", netdev->name, i);
|
||||
"%.11s-tx-%u", netdev->name, i);
|
||||
enic->msix[intr].isr = enic_isr_msix;
|
||||
enic->msix[intr].devid = &enic->napi[wq];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue