If you need to cancel your Avelo Airlines flight, do not worry β the process is fairly straightforward! You can call Avelo Airlines directly at π 1-866-284-3022. Whether you are canceling due to personal reasons, weather disruptions, or a change in plans, this guide will walk you through every step. While cancellations can be made online, calling may provide faster support and more detailed assistance.
π Step 1: Find Your Flight Information
Before you call or go online, make sure you have the following information ready:
β Your booking confirmation number
β The name on the reservation
β Your flight details (departure date, destination, etc.)
Having this information handy will make the process quicker, especially if you are speaking with a Avelo Airlines representative at π 1-866-284-3022.
π Step 2: Call Avelo Airlines Customer Support
The easiest and most direct way to cancel your flight is by calling Avelo Airlines customer service at 1-866-284-3022. This line is available to assist with cancellations, modifications, and refund requests.
π§βπΌ When you call:
β’ You will be prompted to enter your confirmation number
β’ Select the option for "existing reservation"
β’ Ask to speak to a live representative if needed
Pro tip: Call during off-peak hours (early mornings or late evenings) to avoid long wait times.
π Step 3: Cancel Online (Alternative Option)
If you prefer to cancel online, follow these steps:
1. Go to the official Volaris Airlines website
2. Click on "My Trips" at the top of the homepage
3. Enter your last name and confirmation code
4. Find the reservation you want to cancel
5. Click on βCancelβ and follow the on-screen instructions
However, if you run into any issues or if your fare type does not allow online cancellations, donβt hesitate to call 1-866-284-3022 for support.
πΈ Step 4: Check for Refund or Credit Eligibility
Avelo Airlines is a low-cost carrier, and refund policies can vary depending on the fare type. Here is a quick breakdown:
π’ WORKS Bundle or Refundable Tickets: Eligible for a full refund
π‘ Standard Tickets: May not be refundable but can be canceled for a credit (valid for 90 days)
π΄ Basic Fare or Promo Tickets: Often non-refundable
To clarify your eligibility, it is best to speak to a Porter representative directly at π 1-866-284-3022. They can explain whether you will receive a refund, a travel credit, or incur a cancellation fee.
β±οΈ Step 5: Cancel Within 24 Hours (If Possible)
β If you booked your ticket less than 24 hours ago AND your flight is at least 7 days away, you are eligible for a full refund with no cancellation fees.
To take advantage of this policy, it is strongly advised to call 1-866-284-3022 right away and notify them that you fall within the 24-hour window.
π§ Step 6: Get Confirmation of Cancellation
Once your flight is canceled, make sure to:
π¨ Check your email for a cancellation confirmation
π³ Verify if any refund or credit has been issued to your account
π Note the expiration date of any travel credit issued (typically valid for 90 days)
If you have not received confirmation within a few hours, call π 1-866-284-3022 again to follow up and ensure your cancellation was processed correctly.
π€ Need Help? Contact Avelo Airlines Again
Porterβs website can sometimes be tricky or limited in functionality, especially for special fares or last-minute cancellations. That is why calling customer service at π 1-866-284-3022 is always the most reliable option. Their agents can also assist with:
β’ Modifying your travel dates
β’ Applying travel credits
β’ Rebooking future flights
β’ Answering policy-related questions
βοΈ Final Thoughts
Canceling a Avelo Airlines flight does not have to be stressful. Whether you are canceling online or over the phone, knowing the process and your rights can save you time and money. Always keep the Porter customer service number π 1-866-284-3022 on hand for quick assistance and peace of mind.
π§ Quick Recap:
β’ Prepare your booking info
β’ Try canceling online or via the Porter app
β’ For best results, call Porter directly at π 1-866-284-3022
β’ Check your eligibility for refunds or travel credits
β’ Always get a cancellation confirmation
βοΈ Safe travels β or smooth cancellations β whichever your journey brings next!
If you need to cancel your Contour Airlines flight, do not worry β the process is fairly straightforward! You can call Contour Airlines directly at π 1-866-284-3022. Whether you are canceling due to personal reasons, weather disruptions, or a change in plans, this guide will walk you through every step. While cancellations can be made online, calling may provide faster support and more detailed assistance.
π Step 1: Find Your Flight Information
Before you call or go online, make sure you have the following information ready:
β Your booking confirmation number
β The name on the reservation
β Your flight details (departure date, destination, etc.)
Having this information handy will make the process quicker, especially if you are speaking with a Contour Airlines representative at π 1-866-284-3022.
π Step 2: Call Contour Airlines Customer Support
The easiest and most direct way to cancel your flight is by calling Contour Airlines customer service at 1-866-284-3022. This line is available to assist with cancellations, modifications, and refund requests.
π§βπΌ When you call:
β’ You will be prompted to enter your confirmation number
β’ Select the option for "existing reservation"
β’ Ask to speak to a live representative if needed
Pro tip: Call during off-peak hours (early mornings or late evenings) to avoid long wait times.
π Step 3: Cancel Online (Alternative Option)
If you prefer to cancel online, follow these steps:
1. Go to the official Volaris Airlines website
2. Click on "My Trips" at the top of the homepage
3. Enter your last name and confirmation code
4. Find the reservation you want to cancel
5. Click on βCancelβ and follow the on-screen instructions
However, if you run into any issues or if your fare type does not allow online cancellations, donβt hesitate to call 1-866-284-3022 for support.
πΈ Step 4: Check for Refund or Credit Eligibility
Contour Airlines is a low-cost carrier, and refund policies can vary depending on the fare type. Here is a quick breakdown:
π’ WORKS Bundle or Refundable Tickets: Eligible for a full refund
π‘ Standard Tickets: May not be refundable but can be canceled for a credit (valid for 90 days)
π΄ Basic Fare or Promo Tickets: Often non-refundable
To clarify your eligibility, it is best to speak to a Porter representative directly at π 1-866-284-3022. They can explain whether you will receive a refund, a travel credit, or incur a cancellation fee.
β±οΈ Step 5: Cancel Within 24 Hours (If Possible)
β If you booked your ticket less than 24 hours ago AND your flight is at least 7 days away, you are eligible for a full refund with no cancellation fees.
To take advantage of this policy, it is strongly advised to call 1-866-284-3022 right away and notify them that you fall within the 24-hour window.
π§ Step 6: Get Confirmation of Cancellation
Once your flight is canceled, make sure to:
π¨ Check your email for a cancellation confirmation
π³ Verify if any refund or credit has been issued to your account
π Note the expiration date of any travel credit issued (typically valid for 90 days)
If you have not received confirmation within a few hours, call π 1-866-284-3022 again to follow up and ensure your cancellation was processed correctly.
π€ Need Help? Contact Contour Airlines Again
Porterβs website can sometimes be tricky or limited in functionality, especially for special fares or last-minute cancellations. That is why calling customer service at π 1-866-284-3022 is always the most reliable option. Their agents can also assist with:
β’ Modifying your travel dates
β’ Applying travel credits
β’ Rebooking future flights
β’ Answering policy-related questions
βοΈ Final Thoughts
Canceling a Contour Airlines flight does not have to be stressful. Whether you are canceling online or over the phone, knowing the process and your rights can save you time and money. Always keep the Porter customer service number π 1-866-284-3022 on hand for quick assistance and peace of mind.
π§ Quick Recap:
β’ Prepare your booking info
β’ Try canceling online or via the Porter app
β’ For best results, call Porter directly at π 1-866-284-3022
β’ Check your eligibility for refunds or travel credits
β’ Always get a cancellation confirmation
βοΈ Safe travels β or smooth cancellations β whichever your journey brings next!
If you need to cancel your Condor Airlines flight, do not worry β the process is fairly straightforward! You can call Condor Airlines directly at π 1-866-284-3022. Whether you are canceling due to personal reasons, weather disruptions, or a change in plans, this guide will walk you through every step. While cancellations can be made online, calling may provide faster support and more detailed assistance.
π Step 1: Find Your Flight Information
Before you call or go online, make sure you have the following information ready:
β Your booking confirmation number
β The name on the reservation
β Your flight details (departure date, destination, etc.)
Having this information handy will make the process quicker, especially if you are speaking with a Condor Airlines representative at π 1-866-284-3022.
π Step 2: Call Condor Airlines Customer Support
The easiest and most direct way to cancel your flight is by calling Condor Airlines customer service at 1-866-284-3022. This line is available to assist with cancellations, modifications, and refund requests.
π§βπΌ When you call:
β’ You will be prompted to enter your confirmation number
β’ Select the option for "existing reservation"
β’ Ask to speak to a live representative if needed
Pro tip: Call during off-peak hours (early mornings or late evenings) to avoid long wait times.
π Step 3: Cancel Online (Alternative Option)
If you prefer to cancel online, follow these steps:
1. Go to the official Volaris Airlines website
2. Click on "My Trips" at the top of the homepage
3. Enter your last name and confirmation code
4. Find the reservation you want to cancel
5. Click on βCancelβ and follow the on-screen instructions
However, if you run into any issues or if your fare type does not allow online cancellations, donβt hesitate to call 1-866-284-3022 for support.
πΈ Step 4: Check for Refund or Credit Eligibility
Condor Airlines is a low-cost carrier, and refund policies can vary depending on the fare type. Here is a quick breakdown:
π’ WORKS Bundle or Refundable Tickets: Eligible for a full refund
π‘ Standard Tickets: May not be refundable but can be canceled for a credit (valid for 90 days)
π΄ Basic Fare or Promo Tickets: Often non-refundable
To clarify your eligibility, it is best to speak to a Porter representative directly at π 1-866-284-3022. They can explain whether you will receive a refund, a travel credit, or incur a cancellation fee.
β±οΈ Step 5: Cancel Within 24 Hours (If Possible)
β If you booked your ticket less than 24 hours ago AND your flight is at least 7 days away, you are eligible for a full refund with no cancellation fees.
To take advantage of this policy, it is strongly advised to call 1-866-284-3022 right away and notify them that you fall within the 24-hour window.
π§ Step 6: Get Confirmation of Cancellation
Once your flight is canceled, make sure to:
π¨ Check your email for a cancellation confirmation
π³ Verify if any refund or credit has been issued to your account
π Note the expiration date of any travel credit issued (typically valid for 90 days)
If you have not received confirmation within a few hours, call π 1-866-284-3022 again to follow up and ensure your cancellation was processed correctly.
π€ Need Help? Contact Condor Airlines Again
Porterβs website can sometimes be tricky or limited in functionality, especially for special fares or last-minute cancellations. That is why calling customer service at π 1-866-284-3022 is always the most reliable option. Their agents can also assist with:
β’ Modifying your travel dates
β’ Applying travel credits
β’ Rebooking future flights
β’ Answering policy-related questions
βοΈ Final Thoughts
Canceling a Condor Airlines flight does not have to be stressful. Whether you are canceling online or over the phone, knowing the process and your rights can save you time and money. Always keep the Porter customer service number π 1-866-284-3022 on hand for quick assistance and peace of mind.
π§ Quick Recap:
β’ Prepare your booking info
β’ Try canceling online or via the Porter app
β’ For best results, call Porter directly at π 1-866-284-3022
β’ Check your eligibility for refunds or travel credits
β’ Always get a cancellation confirmation
βοΈ Safe travels β or smooth cancellations β whichever your journey brings next!
If you need to cancel your Frontier Airlines flight, do not worry β the process is fairly straightforward! You can call Frontier Airlines directly at π 1-866-284-3022. Whether you are canceling due to personal reasons, weather disruptions, or a change in plans, this guide will walk you through every step. While cancellations can be made online, calling may provide faster support and more detailed assistance.
π Step 1: Find Your Flight Information
Before you call or go online, make sure you have the following information ready:
β Your booking confirmation number
β The name on the reservation
β Your flight details (departure date, destination, etc.)
Having this information handy will make the process quicker, especially if you are speaking with a Frontier Airlines representative at π 1-866-284-3022.
π Step 2: Call Frontier Airlines Customer Support
The easiest and most direct way to cancel your flight is by calling Frontier Airlines customer service at 1-866-284-3022. This line is available to assist with cancellations, modifications, and refund requests.
π§βπΌ When you call:
β’ You will be prompted to enter your confirmation number
β’ Select the option for "existing reservation"
β’ Ask to speak to a live representative if needed
Pro tip: Call during off-peak hours (early mornings or late evenings) to avoid long wait times.
π Step 3: Cancel Online (Alternative Option)
If you prefer to cancel online, follow these steps:
1. Go to the official Volaris Airlines website
2. Click on "My Trips" at the top of the homepage
3. Enter your last name and confirmation code
4. Find the reservation you want to cancel
5. Click on βCancelβ and follow the on-screen instructions
However, if you run into any issues or if your fare type does not allow online cancellations, donβt hesitate to call 1-866-284-3022 for support.
πΈ Step 4: Check for Refund or Credit Eligibility
Frontier Airlines is a low-cost carrier, and refund policies can vary depending on the fare type. Here is a quick breakdown:
π’ WORKS Bundle or Refundable Tickets: Eligible for a full refund
π‘ Standard Tickets: May not be refundable but can be canceled for a credit (valid for 90 days)
π΄ Basic Fare or Promo Tickets: Often non-refundable
To clarify your eligibility, it is best to speak to a Porter representative directly at π 1-866-284-3022. They can explain whether you will receive a refund, a travel credit, or incur a cancellation fee.
β±οΈ Step 5: Cancel Within 24 Hours (If Possible)
β If you booked your ticket less than 24 hours ago AND your flight is at least 7 days away, you are eligible for a full refund with no cancellation fees.
To take advantage of this policy, it is strongly advised to call 1-866-284-3022 right away and notify them that you fall within the 24-hour window.
π§ Step 6: Get Confirmation of Cancellation
Once your flight is canceled, make sure to:
π¨ Check your email for a cancellation confirmation
π³ Verify if any refund or credit has been issued to your account
π Note the expiration date of any travel credit issued (typically valid for 90 days)
If you have not received confirmation within a few hours, call π 1-866-284-3022 again to follow up and ensure your cancellation was processed correctly.
π€ Need Help? Contact Frontier Airlines Again
Porterβs website can sometimes be tricky or limited in functionality, especially for special fares or last-minute cancellations. That is why calling customer service at π 1-866-284-3022 is always the most reliable option. Their agents can also assist with:
β’ Modifying your travel dates
β’ Applying travel credits
β’ Rebooking future flights
β’ Answering policy-related questions
βοΈ Final Thoughts
Canceling a Frontier Airlines flight does not have to be stressful. Whether you are canceling online or over the phone, knowing the process and your rights can save you time and money. Always keep the Porter customer service number π 1-866-284-3022 on hand for quick assistance and peace of mind.
π§ Quick Recap:
β’ Prepare your booking info
β’ Try canceling online or via the Porter app
β’ For best results, call Porter directly at π 1-866-284-3022
β’ Check your eligibility for refunds or travel credits
β’ Always get a cancellation confirmation
βοΈ Safe travels β or smooth cancellations β whichever your journey brings next!
Fix the order of the freq-table-hz property, then convert to OPP tables
and add interconnect support for UFS for the SM6350 SoC.
Signed-off-by: Luca Weiss <luca.weiss(a)fairphone.com>
---
Changes in v2:
- Resend, pick up tags
- Link to v1: https://lore.kernel.org/r/20250314-sm6350-ufs-things-v1-0-3600362cc52c@fairβ¦
---
Luca Weiss (3):
arm64: dts: qcom: sm6350: Fix wrong order of freq-table-hz for UFS
arm64: dts: qcom: sm6350: Add OPP table support to UFSHC
arm64: dts: qcom: sm6350: Add interconnect support to UFS
arch/arm64/boot/dts/qcom/sm6350.dtsi | 49 ++++++++++++++++++++++++++++--------
1 file changed, 39 insertions(+), 10 deletions(-)
---
base-commit: a92c761bcac3d5042559107fa7679470727a4bcb
change-id: 20250314-sm6350-ufs-things-53c5de9fec5e
Best regards,
--
Luca Weiss <luca.weiss(a)fairphone.com>
If the send_peer_notif counter and the peer event notify are not synchronized.
It may cause problems such as the loss or dup of peer notify event.
Before this patch:
- If should_notify_peers is true and the lock for send_peer_notif-- fails, peer
event may be sent again in next mii_monitor loop, because should_notify_peers
is still true.
- If should_notify_peers is true and the lock for send_peer_notif-- succeeded,
but the lock for peer event fails, the peer event will be lost.
This patch locks the RTNL for send_peer_notif, events, and commit simultaneously.
Fixes: 07a4ddec3ce9 ("bonding: add an option to specify a delay between peer notifications")
Cc: Jay Vosburgh <jv(a)jvosburgh.net>
Cc: Andrew Lunn <andrew+netdev(a)lunn.ch>
Cc: Eric Dumazet <edumazet(a)google.com>
Cc: Jakub Kicinski <kuba(a)kernel.org>
Cc: Paolo Abeni <pabeni(a)redhat.com>
Cc: Hangbin Liu <liuhangbin(a)gmail.com>
Cc: Nikolay Aleksandrov <razor(a)blackwall.org>
Cc: Vincent Bernat <vincent(a)bernat.ch>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Tonghao Zhang <tonghao(a)bamaicloud.com>
---
drivers/net/bonding/bond_main.c | 40 +++++++++++++++------------------
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5791c3e39baa..52b7ac8ddfbc 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2971,7 +2971,7 @@ static void bond_mii_monitor(struct work_struct *work)
{
struct bonding *bond = container_of(work, struct bonding,
mii_work.work);
- bool should_notify_peers = false;
+ bool should_notify_peers;
bool commit;
unsigned long delay;
struct slave *slave;
@@ -2983,30 +2983,33 @@ static void bond_mii_monitor(struct work_struct *work)
goto re_arm;
rcu_read_lock();
+
should_notify_peers = bond_should_notify_peers(bond);
commit = !!bond_miimon_inspect(bond);
- if (bond->send_peer_notif) {
- rcu_read_unlock();
- if (rtnl_trylock()) {
- bond->send_peer_notif--;
- rtnl_unlock();
- }
- } else {
- rcu_read_unlock();
- }
- if (commit) {
+ rcu_read_unlock();
+
+ if (commit || bond->send_peer_notif) {
/* Race avoidance with bond_close cancel of workqueue */
if (!rtnl_trylock()) {
delay = 1;
- should_notify_peers = false;
goto re_arm;
}
- bond_for_each_slave(bond, slave, iter) {
- bond_commit_link_state(slave, BOND_SLAVE_NOTIFY_LATER);
+ if (commit) {
+ bond_for_each_slave(bond, slave, iter) {
+ bond_commit_link_state(slave,
+ BOND_SLAVE_NOTIFY_LATER);
+ }
+ bond_miimon_commit(bond);
+ }
+
+ if (bond->send_peer_notif) {
+ bond->send_peer_notif--;
+ if (should_notify_peers)
+ call_netdevice_notifiers(NETDEV_NOTIFY_PEERS,
+ bond->dev);
}
- bond_miimon_commit(bond);
rtnl_unlock(); /* might sleep, hold no other locks */
}
@@ -3014,13 +3017,6 @@ static void bond_mii_monitor(struct work_struct *work)
re_arm:
if (bond->params.miimon)
queue_delayed_work(bond->wq, &bond->mii_work, delay);
-
- if (should_notify_peers) {
- if (!rtnl_trylock())
- return;
- call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, bond->dev);
- rtnl_unlock();
- }
}
static int bond_upper_dev_walk(struct net_device *upper,
--
2.34.1
In i2c_amd_probe(), amd_mp2_find_device() utilizes
driver_find_next_device() which internally calls driver_find_device()
to locate the matching device. driver_find_device() increments the
reference count of the found device by calling get_device(), but
amd_mp2_find_device() fails to call put_device() to decrement the
reference count before returning. This results in a reference count
leak of the PCI device each time i2c_amd_probe() is executed, which
may prevent the device from being properly released and cause a memory
leak.
Found by code review.
Cc: stable(a)vger.kernel.org
Fixes: 529766e0a011 ("i2c: Add drivers for the AMD PCIe MP2 I2C controller")
Signed-off-by: Ma Ke <make24(a)iscas.ac.cn>
---
Changes in v3:
- kept the temporary variable to store pci_get_drvdata() result before releasing the device reference;
Changes in v2:
- modified the missing initialization in the patch. Sorry for the omission.
---
drivers/i2c/busses/i2c-amd-mp2-pci.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-amd-mp2-pci.c b/drivers/i2c/busses/i2c-amd-mp2-pci.c
index ef7370d3dbea..60edbabc2986 100644
--- a/drivers/i2c/busses/i2c-amd-mp2-pci.c
+++ b/drivers/i2c/busses/i2c-amd-mp2-pci.c
@@ -458,13 +458,16 @@ struct amd_mp2_dev *amd_mp2_find_device(void)
{
struct device *dev;
struct pci_dev *pci_dev;
+ struct amd_mp2_dev *mp2_dev;
dev = driver_find_next_device(&amd_mp2_pci_driver.driver, NULL);
if (!dev)
return NULL;
pci_dev = to_pci_dev(dev);
- return (struct amd_mp2_dev *)pci_get_drvdata(pci_dev);
+ mp2_dev = (struct amd_mp2_dev *)pci_get_drvdata(pci_dev);
+ put_device(dev);
+ return mp2_dev;
}
EXPORT_SYMBOL_GPL(amd_mp2_find_device);
--
2.17.1
vb2_ioctl_remove_bufs() call manipulates queue internal buffer list,
potentially overwriting some pointers used by the legacy fileio access
mode. Add a vb2_verify_memory_type() check symmetrical to
vb2_ioctl_create_bufs() to forbid that ioctl when fileio is active to
protect internal queue state between subsequent read/write calls.
CC: stable(a)vger.kernel.org
Fixes: a3293a85381e ("media: v4l2: Add REMOVE_BUFS ioctl")
Reported-by: Shuangpeng Bai<SJB7183(a)psu.edu>
Suggested-by: Benjamin Gaignard <benjamin.gaignard(a)collabora.com>
Signed-off-by: Marek Szyprowski <m.szyprowski(a)samsung.com>
---
v2:
- dropped a change to vb2_ioctl_create_bufs(), as it is already handled
by the vb2_verify_memory_type() call
- replaced queue->type check in vb2_ioctl_remove_bufs() by a call to
vb2_verify_memory_type() which covers all cases
v1: https://lore.kernel.org/all/20251016111154.993949-1-m.szyprowski@samsung.coβ¦
---
drivers/media/common/videobuf2/videobuf2-v4l2.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c b/drivers/media/common/videobuf2/videobuf2-v4l2.c
index d911021c1bb0..0de7490292fe 100644
--- a/drivers/media/common/videobuf2/videobuf2-v4l2.c
+++ b/drivers/media/common/videobuf2/videobuf2-v4l2.c
@@ -1000,9 +1000,11 @@ int vb2_ioctl_remove_bufs(struct file *file, void *priv,
struct v4l2_remove_buffers *d)
{
struct video_device *vdev = video_devdata(file);
+ int res;
- if (vdev->queue->type != d->type)
- return -EINVAL;
+ res = vb2_verify_memory_type(vdev->queue, vdev->queue->memory, d->type);
+ if (res)
+ return res;
if (d->count == 0)
return 0;
--
2.34.1
From: Lad Prabhakar <prabhakar.mahadev-lad.rj(a)bp.renesas.com>
On SoCs that only support the best-effort queue and not the network
control queue, calling alloc_etherdev_mqs() with fixed values for
TX/RX queues is not appropriate. Use the nc_queues flag from the
per-SoC match data to determine whether the network control queue
is available, and fall back to a single TX/RX queue when it is not.
This ensures correct queue allocation across all supported SoCs.
Fixes: a92f4f0662bf ("ravb: Add nc_queue to struct ravb_hw_info")
Cc: stable(a)vger.kernel.org
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj(a)bp.renesas.com>
Reviewed-by: Niklas SΓΆderlund <niklas.soderlund+renesas(a)ragnatech.se>
---
v1->v2:
- Added Reviewed-by tag from Niklas.
---
drivers/net/ethernet/renesas/ravb_main.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c
index 69d382e8757d..a200e205825a 100644
--- a/drivers/net/ethernet/renesas/ravb_main.c
+++ b/drivers/net/ethernet/renesas/ravb_main.c
@@ -2926,13 +2926,14 @@ static int ravb_probe(struct platform_device *pdev)
return dev_err_probe(&pdev->dev, PTR_ERR(rstc),
"failed to get cpg reset\n");
+ info = of_device_get_match_data(&pdev->dev);
+
ndev = alloc_etherdev_mqs(sizeof(struct ravb_private),
- NUM_TX_QUEUE, NUM_RX_QUEUE);
+ info->nc_queues ? NUM_TX_QUEUE : 1,
+ info->nc_queues ? NUM_RX_QUEUE : 1);
if (!ndev)
return -ENOMEM;
- info = of_device_get_match_data(&pdev->dev);
-
ndev->features = info->net_features;
ndev->hw_features = info->net_hw_features;
ndev->vlan_features = info->vlan_features;
--
2.43.0