Skip to content

Commit

Permalink
dpaa2: ni: Don't forget function names.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsalychev committed Jun 20, 2022
1 parent 48d302a commit 19d8245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/dev/dpaa2/dpaa2_ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,11 +1351,11 @@ dpaa2_ni_setup_tx_flow(device_t dev, struct dpaa2_cmd *cmd,
con_info = device_get_ivars(fq->chan->con_dev);

KASSERT(sc->attr.num.tx_tcs <= DPAA2_NI_MAX_TCS,
("%s: too many Tx traffic classes: tx_tcs=%d\n",
("%s: too many Tx traffic classes: tx_tcs=%d\n", __func__,
sc->attr.num.tx_tcs));
KASSERT(DPAA2_NI_BUFS_PER_TX <= DPAA2_NI_MAX_BPTX,
("%s: too many Tx buffers (%d): max=%d\n", DPAA2_NI_BUFS_PER_TX,
DPAA2_NI_MAX_BPTX));
("%s: too many Tx buffers (%d): max=%d\n", __func__,
DPAA2_NI_BUFS_PER_TX, DPAA2_NI_MAX_BPTX));

/* Setup Tx rings. */
for (int i = 0; i < sc->attr.num.tx_tcs; i++) {
Expand Down

0 comments on commit 19d8245

Please sign in to comment.