mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
staging: nvec: Remove space after a cast
No space is required after a cast. Checkpatch detected this issue. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ac05a587c8
commit
9fc27699bd
1 changed files with 4 additions and 3 deletions
|
@ -659,10 +659,11 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
|
||||||
} else if (nvec->tx && nvec->tx->pos < nvec->tx->size) {
|
} else if (nvec->tx && nvec->tx->pos < nvec->tx->size) {
|
||||||
to_send = nvec->tx->data[nvec->tx->pos++];
|
to_send = nvec->tx->data[nvec->tx->pos++];
|
||||||
} else {
|
} else {
|
||||||
dev_err(nvec->dev, "tx buffer underflow on %p (%u > %u)\n",
|
dev_err(nvec->dev,
|
||||||
|
"tx buffer underflow on %p (%u > %u)\n",
|
||||||
nvec->tx,
|
nvec->tx,
|
||||||
(uint) (nvec->tx ? nvec->tx->pos : 0),
|
(uint)(nvec->tx ? nvec->tx->pos : 0),
|
||||||
(uint) (nvec->tx ? nvec->tx->size : 0));
|
(uint)(nvec->tx ? nvec->tx->size : 0));
|
||||||
nvec->state = 0;
|
nvec->state = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue