mbox series

[net,0/2] mlx4_core fixes for 5.0-rc

Message ID 1548163185-13986-1-git-send-email-tariqt@mellanox.com
Headers show
Series mlx4_core fixes for 5.0-rc | expand

Message

Tariq Toukan Jan. 22, 2019, 1:19 p.m. UTC
Hi Dave,

This patchset includes two fixes for the mlx4_core driver.

First patch by Aya fixes inaccurate parsing of some FW fields, mistakenly
including additional (mostly reserved) bits.

Second patch by Jack fixes a wrong (yet harmless) error handling of
calls to copy_to_user() during the CQs init stage.


Series generated against net commit:
49a57857aeea Linux 5.0-rc3

Thanks,
Tariq.


Aya Levin (1):
  net/mlx4_core: Add masking for a few queries on HCA caps

Jack Morgenstein (1):
  net/mlx4_core: Fix error handling when initializing CQ bufs in the
    driver

 drivers/net/ethernet/mellanox/mlx4/cq.c |  6 ++-
 drivers/net/ethernet/mellanox/mlx4/fw.c | 75 ++++++++++++++++++++-------------
 2 files changed, 50 insertions(+), 31 deletions(-)

Comments

David Miller Jan. 25, 2019, 5:51 a.m. UTC | #1
From: Tariq Toukan <tariqt@mellanox.com>
Date: Tue, 22 Jan 2019 15:19:43 +0200

> This patchset includes two fixes for the mlx4_core driver.
> 
> First patch by Aya fixes inaccurate parsing of some FW fields, mistakenly
> including additional (mostly reserved) bits.
> 
> Second patch by Jack fixes a wrong (yet harmless) error handling of
> calls to copy_to_user() during the CQs init stage.
> 
> 
> Series generated against net commit:
> 49a57857aeea Linux 5.0-rc3

Series applied, and patch #1 queued up for -stable.