Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp493271imm; Thu, 5 Jul 2018 04:03:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcZzmiX4BNUwbn91eP6A9qrTJkqBgOSABh+W7qkcJny218RMvYK0Qc369BI9vUKWmyxRPw0 X-Received: by 2002:a62:6eca:: with SMTP id j193-v6mr5945739pfc.256.1530788633933; Thu, 05 Jul 2018 04:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530788633; cv=none; d=google.com; s=arc-20160816; b=IW0U1ei58SvFKVNfH990YbQvfIfH5haEniyQt0MP3FCBu/VFIAuviE1icVghTouPkh S3N3ssNn0RkR9v+40c2adfKHALcJQiZFzEm0gtsG768NcVgXqdp5Gdoqz/kZyIqV6A47 HZBJxnOYl/3HH15cb9MUiJ+qE7r/XN73ymd56FR4d5Vos+ZKFfp4abucZDiQFhepVOVH mBnpEi385lN7w9xdqzlUzJRwFyI2mT3wdB5pBx9zg7be+gqQIXH6EH245pVS15R46RHL oR34+AJtAo/WGxxuQquQ9FZCWWJ4mIrf1KonDCfn1VhOr2TGgqWFE/cxs6JxH6KnREei tayQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ENFJ+Dp9SsM8i1ahFS4YQM7bKGDHxPvbH2gyVM9maLI=; b=pkNvaL0+K+XpN8QD4rPHMl+l8YxQbHJYQMHElfv6mgmdFGryGetPBjzGBUv4r0sdyx tkOlRwYp6JNanB0NnLMU2dhMs35cd9fd0wjjRJq+KuMfT985Z1MJVrLrtoglY8wo3uR0 v8gCsCQxKbFQ92NbnaPWRizGhmy3zmTQ/eMIbu43gXVB5g8GXEjEb+Us2nDPG26xrVz9 9dtwc1NbUzkqyFR7yf2U1AxRcJZgxvQT4MTNeC3Nobz2NqDzQ0oRi4DArok7Xadtg8qI hIm+mENSwgL06mWkRCWnD78si+HS92DKWL7q3F75lQz05NriyuvAdwqTAp6eFXHxp4K4 LS1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x37-v6si2206270pgl.544.2018.07.05.04.03.20; Thu, 05 Jul 2018 04:03:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753854AbeGELBr (ORCPT + 99 others); Thu, 5 Jul 2018 07:01:47 -0400 Received: from mx2.suse.de ([195.135.220.15]:59884 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753542AbeGELBo (ORCPT ); Thu, 5 Jul 2018 07:01:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 0AA9AAEBB; Thu, 5 Jul 2018 11:01:43 +0000 (UTC) From: Johannes Thumshirn To: "Martin K . Petersen" Cc: Linux Kernel Mailinglist , Linux SCSI Mailinglist , Johannes Thumshirn Subject: [PATCH 0/4] SCSI results rework preparation part 2 Date: Thu, 5 Jul 2018 13:01:36 +0200 Message-Id: <20180705110140.19545-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As the first part of the preparation work for my scsi results handling rework is done, here's the second batch. The first patch changes the AAC_STAT_GOOD define into an open-coded version in aacraid. The other three patches convert the three ScsiResult() macros in bfa, lpfc and ncr53c8xx to their open-coded equivalen. This is helpful for subsequent refactoring, as it's easier to identify which code parts need more work and Coccinelle Spatches are easier to apply. Johannes Thumshirn (4): scsi: aacraid: remove AAC_STAT_GOOD define scsi: bfa: remove ScsiResult macro scsi: lpfc: remove ScsiResult macro scsi: ncr53c8xx: remove ScsiResult macro drivers/scsi/aacraid/aachba.c | 41 ++++++++++++++++++++++++++-------------- drivers/scsi/bfa/bfad_im.c | 19 ++++++++----------- drivers/scsi/bfa/bfad_im.h | 1 - drivers/scsi/lpfc/lpfc_crtn.h | 1 - drivers/scsi/lpfc/lpfc_scsi.c | 44 +++++++++++++++++++++---------------------- drivers/scsi/ncr53c8xx.c | 10 +++++----- 6 files changed, 62 insertions(+), 54 deletions(-) -- 2.16.4