Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions XDMA/linux-kernel/xdma/xdma_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ static int probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
}

if (xpdev->h2c_channel_max > XDMA_CHANNEL_NUM_MAX) {
pr_err("Maximun H2C channel limit reached\n");
pr_err("Maximum H2C channel limit reached\n");
rv = -EINVAL;
goto err_out;
}

if (xpdev->c2h_channel_max > XDMA_CHANNEL_NUM_MAX) {
pr_err("Maximun C2H channel limit reached\n");
pr_err("Maximum C2H channel limit reached\n");
rv = -EINVAL;
goto err_out;
}
Expand Down