From patchwork Tue Nov 27 23:04:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10701617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C2C1E14BD for ; Tue, 27 Nov 2018 23:31:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2A622C9F8 for ; Tue, 27 Nov 2018 23:31:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A36DF2C9F7; Tue, 27 Nov 2018 23:31:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3170F2C9F7 for ; Tue, 27 Nov 2018 23:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbeK1KbE (ORCPT ); Wed, 28 Nov 2018 05:31:04 -0500 Received: from com-out001.mailprotect.be ([83.217.72.83]:39335 "EHLO com-out001.mailprotect.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbeK1KbE (ORCPT ); Wed, 28 Nov 2018 05:31:04 -0500 X-Greylist: delayed 1571 seconds by postgrey-1.27 at vger.kernel.org; Wed, 28 Nov 2018 05:31:03 EST DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mailprotect.be; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id :Date:Subject:Cc:To:From:reply-to:sender:bcc:in-reply-to:references: content-type; bh=ev7h3kUPr/xicKPSM/ljhO9/tgRY/oiV7iD/zC2y5qc=; b=UtzfsWiWOvkS dL/+l90RsTOfTlYXyXGoGuBYVTFnI88JhvYmAEc6N0zgb8W03Xwn1tkyX9SycEhDz9itSGLebFHh2 dHCkq5yLUm0gjfMwyLCmtXzufwif56AsMzvuoTGUdDMj3Dvn8xLJ4T9XnQEb7K/o9eGhUaWnWZTzJ Otcm8hFfL6H1xfdVh9oYiclpHlwrZPncxmq05xZ+LSrQrxDcUc1qZYV3rK60J6I4W0D8GPCkaASfu iayvFsJHn3feDCTvX1zJMF1TSRN+themJMtoomjX8gBoJ7Gt8vyyntB04+9k/kCXi5AIx+fCxRuho uxkXwjQvXEeTuB3D11iyqw==; Received: from smtp-auth.mailprotect.be ([178.208.39.159]) by com-mpt-out001.mailprotect.be with esmtp (Exim 4.89) (envelope-from ) id 1gRmPy-0002Aq-27; Wed, 28 Nov 2018 00:05:22 +0100 Received: from desktop-bart.svl.corp.google.com (unknown [104.133.8.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-auth.mailprotect.be (Postfix) with ESMTPSA id 9E176C04BB; Wed, 28 Nov 2018 00:05:06 +0100 (CET) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Bart Van Assche Subject: [PATCH 0/2] Two refactoring patches for the qla2xxx driver Date: Tue, 27 Nov 2018 15:04:53 -0800 Message-Id: <20181127230455.259829-1-bvanassche@acm.org> X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-goog MIME-Version: 1.0 X-Originating-IP: 178.208.39.159 X-SpamExperts-Domain: mailprotect.be X-SpamExperts-Username: 178.208.39.128/27 Authentication-Results: mailprotect.be; auth=pass smtp.auth=178.208.39.128/27@mailprotect.be X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence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9QfnX0yZIM81CWbOkIhVXFL WPJO+eyolGM4l8rlxuGfhU+3k8+lrVLTNBgpy2LxbHpqloq8mG8yXCcEbxT2UdIuHji9IodMg2vu WMdu+65sFAzW X-Report-Abuse-To: spam@com-mpt-mgt001.mailprotect.be Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Martin, The two patches in this series make the qla2xxx driver source code easier to read without changing the driver functionality. Please consider these patches for kernel v4.21. Thanks, Bart. Bart Van Assche (2): qla2xxx: Introduce a switch/case statement in qlt_xmit_tm_rsp() qla2xxx: Split the __qla2x00_abort_all_cmds() function drivers/scsi/qla2xxx/qla_os.c | 89 +++++++++++++++---------------- drivers/scsi/qla2xxx/qla_target.c | 14 ++--- 2 files changed, 51 insertions(+), 52 deletions(-) Reviewed-by: Laurence Oberman