[SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: ipmb_host.c: rename structs to be driver specific

Asmaa Mnebhi asmaa at nvidia.com
Fri Jul 1 15:28:38 UTC 2022


Buglink: https://bugs.launchpad.net/bugs/1980537

SRU Justification:

[Fix]

* In later kernels, "struct request" is already declared in a common linux include file:
  ./include/linux/blkdev.h
* So rename the structs to ipmb_host_request and ipmb_host_response so that they are specific to the
  ipmb_host driver and don't cause compile errors in the future.

[Test Case]

* check that ipmb_host.c driver is loaded at boot time and with no errors
* lsmod
* check that the /dev/ipmi0 device file is created successfully
* send ipmi commands from the BF DPU to the BMC and make sure the response is as expected.

[Regression Potential]

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

Asmaa Mnebhi (1):
  UBUNTU: SAUCE: ipmb_host.c: rename structs to be driver specific

 drivers/char/ipmi/ipmb_host.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

-- 
2.30.1




More information about the kernel-team mailing list