i2c-mlxbf.c: fix wrong variable name

Bug #1982357 reported by Asmaa Mnebhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

SRU Justification:

[Impact]

We are using the wrong variable name priv->smbus->io instead of priv->mst_cause->io. This could result in unexpected i2c behavior.

[Fix]

* replace priv->smbus->io with priv->mst_cause->io

[Test Case]

* Make sure the i2c-mlxbf.c driver is loaded and /dev/i2c-1 is created
* check that ipmitool from the BF->BMC and from the BMC->BF work (this only applies on boards with a BMC of course)

[Regression Potential]

Any of the test cases above could be impacted due to these changes.

CVE References

Changed in linux-bluefield (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-bluefield - 5.4.0-1045.50

---------------
linux-bluefield (5.4.0-1045.50) focal; urgency=medium

  * focal/linux-bluefield: 5.4.0-1045.50 -proposed tracker (LP: #1983921)

  * pwr-mlxbf.c: Improve driver dependencies and fix zero allocating memory size
    (LP: #1980750)
    - SAUCE: pwr-mlxbf.c: Improve driver dependencies
    - SAUCE: pwr-mlxbf.c: Fix zero allocating memory size
    - SAUCE: pwr-mlxbf.c: Update driver version to 1.1

  * store the last executed chain also for clsact egress (LP: #1982980)
    - net/sched: store the last executed chain also for clsact egress

  * i2c-mlxbf.c: support lock mechanism (LP: #1981105)
    - SAUCE: i2c-mlxbf.c: support lock mechanism

  * i2c-mlxbf.c: fix wrong variable name (LP: #1982357)
    - SAUCE: i2c-mlxbf.c: fix wrong variable name

  [ Ubuntu: 5.4.0-125.141 ]

  * focal/linux: 5.4.0-125.141 -proposed tracker (LP: #1983947)
  * nbd: requests can become stuck when disconnecting from server with qemu-nbd
    (LP: #1896350)
    - blk-mq: blk-mq: provide forced completion method
    - blk-mq: move failure injection out of blk_mq_complete_request
    - nbd: don't handle response without a corresponding request message
    - nbd: make sure request completion won't concurrent
    - nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
    - nbd: fix io hung while disconnecting device
  * CVE-2021-33656
    - vt: drop old FONT ioctls
  * CVE-2021-33061
    - ixgbe: add the ability for the PF to disable VF link state
    - ixgbe: add improvement for MDD response functionality
    - ixgbevf: add disable link state

 -- Zachary Tahenakos <email address hidden> Thu, 11 Aug 2022 15:11:51 -0400

Changed in linux-bluefield (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.