Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1504975imm; Fri, 6 Jul 2018 01:04:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd+03iokz8U5W306cMRukyE6G+du/+TOsv+sQ/xIZzbZmJ1crkHrv9di5nqM3p8NLNp8YNm X-Received: by 2002:a62:49cf:: with SMTP id r76-v6mr9385832pfi.235.1530864265995; Fri, 06 Jul 2018 01:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530864265; cv=none; d=google.com; s=arc-20160816; b=jFabYSbB70tA8NcOV/fzC6g+1oNvJh35Owx686rPtxoG2xG6YUiIp7ArN79xvS2Ojq JPRp7EIHCheMzYW+HxZ77XUsFIoGjSfvtyaK/B477wup8J/lvXFd0kpwehPrX+G9TdFG IAF6m2reY0unMA8lBjL6XkdVaOXN7XIZETTT4c8Mb5WmdNvAuLjB/GgBJ+6CW1alWWIa RbjI1IfgLAZZnmAkeKu1TryW0wbuOyOtrX64iEiljX8qmjK/+2gPrr5eyZKCYeacsLaC NOwAkLECdW9UD2qls+QZ4T4TaT1TGtQWIIcDFjEDCa30e9ZbFG453+67t77hP3z68tP5 lgSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=+Lse+8BGGxlWLL/4I9Ne6SH+W7oilUb/0z2PskqWiaA=; b=id3icPRXsk+TMPkVcLDrKi26i3UUiKy0f5nMZkK0CrF4scHo8jldyKM9QnrPMJIst5 Er77GPzkF76nyiUEdP4jBIb0uB97UGe/rJF129IzJv7l6mMm/6qNE424qxLxZVkeFxXx 0epNi9are+nwVsNc5x9YXrssWvAbJ+0AopgUMB7jO9Lw0dF6p4gkuU4Fdh+BdrwU9CTc xFcaXr+CMC/PJEA6nuA4yvSyyZCJ7X0jiYfNnSAJlmr3BKRmo76D1/Ywhg2Me5FmZrfO bmiG1ctzy3cfbY/eD2fsLX0IGaGssDh/769ZyiJhF4tpe9Ex5DXcCrJKioNH1gwqq/CB Z77g== 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 m134-v6si7408132pga.530.2018.07.06.01.04.08; Fri, 06 Jul 2018 01:04:25 -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 S1753638AbeGFIDH (ORCPT + 99 others); Fri, 6 Jul 2018 04:03:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:55128 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753599AbeGFIDE (ORCPT ); Fri, 6 Jul 2018 04:03:04 -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 AC840ADC5; Fri, 6 Jul 2018 08:03:02 +0000 (UTC) Date: Fri, 6 Jul 2018 10:03:01 +0200 From: Johannes Thumshirn To: Dave Carroll Cc: "Martin K . Petersen" , Linux Kernel Mailinglist , Linux SCSI Mailinglist , Raghava Aditya Renukunta Subject: Re: [PATCH 1/4] scsi: aacraid: remove AAC_STAT_GOOD define Message-ID: <20180706080301.gvjxdd4w5eun2x2h@linux-x5ow.site> References: <20180705110140.19545-1-jthumshirn@suse.de> <20180705110140.19545-2-jthumshirn@suse.de> <4cd9a8cb64dc4d8aa1e10c3b008c3ba0@microsemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4cd9a8cb64dc4d8aa1e10c3b008c3ba0@microsemi.com> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 05, 2018 at 05:42:02PM +0000, Dave Carroll wrote: > > Remove the AAC_STAT_GOOD definition and open code it in the places it was > > used. > > > > This will make subsequent refactoring in this area easier. > > > Please don't ... the definition itself was added to make refactoring easier. Well in the end scsi_cmnd::result as we know it currently will go away, so splitting up the define is rather crucial for this. I could do it when changing the ->result from one integer into 4 u8s but doing it in a separate preparation step would be preferable to me and it doesn't hurt accraid at all. For more information please see [1] and [2]. A first preparation series [3] has already landed upstream. [1] https://marc.info/?l=linux-scsi&m=152300071418035&w=2 [2] https://marc.info/?l=linux-scsi&m=152406381222604&w=2 [3] https://marc.info/?l=linux-scsi&m=152887646121085&w=2 Thanks, Johannes -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850