From patchwork Thu Jan 11 11:15:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: XueBing Chen X-Patchwork-Id: 13517220 Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.8]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07F3814F80; Thu, 11 Jan 2024 11:15:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="Y0oWSKdD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=tvTGsctEpaQmgcM111 a9YFZe1/B7Al7AlizSY3uBAZU=; b=Y0oWSKdDLAZ2tRMwDLggzLHm7qdfgCzfhi 2JAUZdWjvoLQz5nQWqwHdCh/Elp/69jjVsXJhNCaMviy5ETG6VrIpPg6x34/kSMp FgpldrXV+o2MUfEHK7yzvm0lpu1hXdzvJUgxf2d4jKEdrErepaeJEzU1D2EOUN7j ZroTYdE5E= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wDXf3fRzZ9lSFOnAA--.12694S2; Thu, 11 Jan 2024 19:15:30 +0800 (CST) From: XueBing Chen To: jejb@linux.ibm.com, njavali@marvell.com, martin.petersen@oracle.com, mrangankar@marvell.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, XueBing Chen Subject: [PATCH] scsi: qla4xxx: Clean up errors in ql4_mbx.c Date: Thu, 11 Jan 2024 11:15:28 +0000 Message-Id: <20240111111528.15374-1-chenxb_99091@126.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: _____wDXf3fRzZ9lSFOnAA--.12694S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7uF1ruw48JF1ktw1DuF4xXrb_yoW8ur1fpF WkXa1Ykr4jkr9YgrWUAF45Crnxur10qry7Kas5Gw1FkF4YyFZ5urWjkFWruF95G34kX3WS gF1jyrWrWF4DXrUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07U0FAJUUUUU= X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiOhNixWVEuYGwJAAAsD Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: RROR: "foo * bar" should be "foo *bar" Signed-off-by: XueBing Chen --- drivers/scsi/qla4xxx/ql4_mbx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index 249f1d7021d4..fcd03dbcea8b 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++ b/drivers/scsi/qla4xxx/ql4_mbx.c @@ -616,7 +616,7 @@ qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, * qla4xxx_initialize_fw_cb - initializes firmware control block. * @ha: Pointer to host adapter structure. **/ -int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) +int qla4xxx_initialize_fw_cb(struct scsi_qla_host *ha) { struct addr_ctrl_blk *init_fw_cb; dma_addr_t init_fw_cb_dma; @@ -698,7 +698,7 @@ int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) * qla4xxx_get_dhcp_ip_address - gets HBA ip address via DHCP * @ha: Pointer to host adapter structure. **/ -int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) +int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host *ha) { struct addr_ctrl_blk *init_fw_cb; dma_addr_t init_fw_cb_dma; @@ -737,7 +737,7 @@ int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) * qla4xxx_get_firmware_state - gets firmware state of HBA * @ha: Pointer to host adapter structure. **/ -int qla4xxx_get_firmware_state(struct scsi_qla_host * ha) +int qla4xxx_get_firmware_state(struct scsi_qla_host *ha) { uint32_t mbox_cmd[MBOX_REG_COUNT]; uint32_t mbox_sts[MBOX_REG_COUNT]; @@ -768,7 +768,7 @@ int qla4xxx_get_firmware_state(struct scsi_qla_host * ha) * qla4xxx_get_firmware_status - retrieves firmware status * @ha: Pointer to host adapter structure. **/ -int qla4xxx_get_firmware_status(struct scsi_qla_host * ha) +int qla4xxx_get_firmware_status(struct scsi_qla_host *ha) { uint32_t mbox_cmd[MBOX_REG_COUNT]; uint32_t mbox_sts[MBOX_REG_COUNT];