Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1510098imm; Fri, 6 Jul 2018 01:11:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeumWWOV4DD0CZtLN2iUM58NPCKKtPegqVwDWmN/n0RstJvaD+jBpzehz4riIQasPyn56eJ X-Received: by 2002:a62:4a41:: with SMTP id x62-v6mr7849233pfa.45.1530864665940; Fri, 06 Jul 2018 01:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530864665; cv=none; d=google.com; s=arc-20160816; b=Wp1NRp/B4i78wkuoPrMkCKhUGkev5g40DvLG5IN3RZdXAaiJj9Ucj1gIPtUQcBWCg/ hHYB4mwSFDybeL+JYesJhlDeKXBUsEpDjjVG64wbFlsEmSHc6SeP0Yzw57IKnjRY7FI/ mnZB2FTYqz4kGfimyy6zWjFNXbMtRvipJEknyfiv14VjfojgKwLn+9kT20YUTM4+cjET /NyT2/rXXAo2+zEGblLZeZSyZnX7llND/G44JOZnOoZWxw3PUxgWLSMoC57jquAjJc+B gNuJTVf8Efkvwsb7qyPLjarcnlof6UpBw+b8ht8ZSFBDKThoDXrpm64omg83n8emqoWP B0IQ== 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=tor2vFGPzdtx3jBpmpw3d0hvuMIalcNkWwRtjKiDjUs=; b=KXCHhuYMWgqNYjBho7iaFR7P4BWz2dmF7U7xFstU6UkovUv1wdDk7/y9a8DzOHzHZI 4mJUu6imhJnpTPx/CT+Anggn9giVhRNmlFJFRedHW+FxZnrW5ql1k7TPFVYbBOnIb1BG sdRtwEXtyf8rge3vGXhkGzOky4MrFnqkNPpmb0nQ7QiTkqSrsaIAA0ux3oie6P8VvwZj s6ZnaDHMBcYe/oeQ+FB586Rc79Jq2rY0/BritwFOn07iQHqUqZc974ZjmZVHzGgeJnMA lkqxpKZpKFtJStoxCXLdt+E4cjMY9XKX6holrGuZ+dLDFpU+viqPe4uLVNKdeExRTfKF uWTw== 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 c11-v6si7459313plo.271.2018.07.06.01.10.50; Fri, 06 Jul 2018 01:11:05 -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 S1753702AbeGFIJm (ORCPT + 99 others); Fri, 6 Jul 2018 04:09:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:56360 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753061AbeGFIJl (ORCPT ); Fri, 6 Jul 2018 04:09:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E4C66AD97; Fri, 6 Jul 2018 08:09:39 +0000 (UTC) Date: Fri, 6 Jul 2018 10:09:39 +0200 From: Johannes Thumshirn To: Bart Van Assche Cc: "martin.petersen@oracle.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4/4] scsi: ncr53c8xx: remove ScsiResult macro Message-ID: <20180706080939.iotmgb24f6iaawkp@linux-x5ow.site> References: <20180705110140.19545-1-jthumshirn@suse.de> <20180705110140.19545-5-jthumshirn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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:04:05PM +0000, Bart Van Assche wrote: > On Thu, 2018-07-05 at 13:01 +0200, Johannes Thumshirn wrote: > > - cmd->result = ScsiResult(DID_OK, S_CHECK_COND); > > + cmd->result = DID_OK << 16 | S_CHECK_COND; > > Since DID_OK == 0, do we really need "DID_OK << 16 |" here? Please see my answers to the other patches on this. 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