From patchwork Fri Jul 1 15:28:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asmaa Mnebhi X-Patchwork-Id: 1651294 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LZJyJ1SX2z9s1l for ; Sat, 2 Jul 2022 01:28:55 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1o7IZc-0007Bl-B4; Fri, 01 Jul 2022 15:28:48 +0000 Received: from mail-il-dmz.mellanox.com ([193.47.165.129] helo=mellanox.co.il) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1o7IZa-00079N-6O for kernel-team@lists.ubuntu.com; Fri, 01 Jul 2022 15:28:46 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from asmaa@mellanox.com) with SMTP; 1 Jul 2022 18:28:45 +0300 Received: from bu-vnc02.mtbu.labs.mlnx (bu-vnc02.mtbu.labs.mlnx [10.15.2.65]) by mtbu-labmailer.labs.mlnx (8.14.4/8.14.4) with ESMTP id 261FSiHX014517; Fri, 1 Jul 2022 11:28:44 -0400 Received: (from asmaa@localhost) by bu-vnc02.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id 261FSi7T003499; Fri, 1 Jul 2022 11:28:44 -0400 From: Asmaa Mnebhi To: kernel-team@lists.ubuntu.com Subject: [SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: ipmb_host.c: rename structs to be driver specific Date: Fri, 1 Jul 2022 11:28:38 -0400 Message-Id: <20220701152839.3419-1-asmaa@nvidia.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: asmaa@nvidia.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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(-) Acked-by: Tim Gardner Acked-by: Zachary Tahenakos