Received: by 10.223.185.111 with SMTP id b44csp833748wrg; Fri, 9 Mar 2018 14:48:29 -0800 (PST) X-Google-Smtp-Source: AG47ELsDUhsd4uppbutD3Xmo8AJFwCrczZDP1lKwa0AqC3KwJpmtVSBrPSV96mYRAidW/LpoDBae X-Received: by 10.98.18.143 with SMTP id 15mr119269pfs.104.1520635709244; Fri, 09 Mar 2018 14:48:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520635709; cv=none; d=google.com; s=arc-20160816; b=MBkDZf4G2g8o+6GkoU05B/63TgIr8HIAzmzo66GyKdaqzbFY36B+xTq3VM//ZJm2Od p7zNJd9qM5JV2Hebd54rjIZFyYUxof/2HYjH4MO5jzqGyBgfoNU03pOv24iDUKDUDlQW YcCC+aVAKNWbzkZ1zByUG5noQmEWoyorInFD5fYKF9Z9sYPyU4MZ34dZQnlWy+4W0hOv 91N8Qvc4Go22hp7nFmCWkj2AzHZ6U2jAm/VtigwgaUUJS6EE4vX78IxOuAEJa05whMiM 6y7X7gjoDY2P0JnkUnhetP4I72BG4s96yvLrhYxAjUjsL5mtkfmiEjU2k7cZJa7FzMRt YeiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=pf79hTg4XJuvWu7L35x/Gg76Dkin6zdtzGUlj15KR18=; b=IlNPzdvXitz2FtFf+AQfbvkvaMn6J0+GqVyRNJCOA1u2pVK/VG5yJxDKm175ofjVyi QLXzvIimSq78xZGE0VdEV5Vc8tQQzeU9qWc8csbDrzutxJ+GNDHTl8RFjJlvyfyS/eUk 4AyIaAoIsWCGFjK5uXKaP7tf54c8tRmM4pZghMSG9mWgdLHzPqoJWx6/twf1fN2k6KB7 hs93W+AIGh0RwgVBfcrTNiIO/tfL27bF2UD2dZo62Q234GfBwtHKKj+BOIyxxUkxKWb3 VruC7maPzSx3UNgvtuoyFNUc+EGD7o04XhA5ZA25Yyzui6n9GToBSON/8jzw0JeQqoWV Hadw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=aDbIEXsG; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=lMq07zHt; 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 a6si1573521pfi.123.2018.03.09.14.48.13; Fri, 09 Mar 2018 14:48:29 -0800 (PST) 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; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=aDbIEXsG; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=lMq07zHt; 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 S932408AbeCIWrS (ORCPT + 99 others); Fri, 9 Mar 2018 17:47:18 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:22063 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932186AbeCIWrQ (ORCPT ); Fri, 9 Mar 2018 17:47:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1520635636; x=1552171636; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=pf79hTg4XJuvWu7L35x/Gg76Dkin6zdtzGUlj15KR18=; b=aDbIEXsGb9BjiSRbOtvqUjMaXXuUYJ/nul4FQEfaLO+A/Yt0K+tDz2/T e+1+lNtU5uKU4y6ejjI2VLi2IkRXND71RPWrTw/pP+lweYFQjpNuMVI1J 8wYImmdLH3iF5Fe6Tv6joMzGxxPOWnbwy/vUbytpc5bqTscYOTUBfoLW9 Ru2Tp7hE1gMFCTsPzzBKOfbajc8VBT4FO7HYZ7WsZpJkPGniguL1PU/2a EBVi0vHCKuiBCsz/t2pKlmLIKDRjlUpYBaszH/KKSz6Ef/c+D13LvQ2nC Bs1Wn7QV4ymcQqSFCEIYdyDmpss6tAnyLqVBhf5AlDoP8djcLqVGW1Ru7 w==; X-IronPort-AV: E=Sophos;i="5.47,447,1515427200"; d="scan'208";a="73855298" Received: from mail-sn1nam02lp0018.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.18]) by ob1.hgst.iphmx.com with ESMTP; 10 Mar 2018 06:47:14 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pf79hTg4XJuvWu7L35x/Gg76Dkin6zdtzGUlj15KR18=; b=lMq07zHtKyNRLV+WSnwy0US2WYtzMyc7Tpp7yi8aQrImBu6M++WbSk1skh3VMgzE9SlQr06AfN0U7umod4gQrvIbRXZyWZ35KTCD5ZqibT/RHrx6Z367V19u6wsNYyOdl+AFPzmN83riDsTbJs1R657mVKKaH+ma6HB7oJETVO8= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB0366.namprd04.prod.outlook.com (10.173.48.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Fri, 9 Mar 2018 22:47:13 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca%13]) with mapi id 15.20.0548.018; Fri, 9 Mar 2018 22:47:12 +0000 From: Bart Van Assche To: "jejb@linux.vnet.ibm.com" , "steve@sk2.org" , "hare@suse.com" , "martin.petersen@oracle.com" , "axboe@kernel.dk" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "kernel-hardening@lists.openwall.com" Subject: Re: [PATCH] scsi: resolve COMMAND_SIZE at compile time Thread-Topic: [PATCH] scsi: resolve COMMAND_SIZE at compile time Thread-Index: AQHTt/a++gGYLFA/xEyD9ZESx+8zoqPIgTGA Date: Fri, 9 Mar 2018 22:47:12 +0000 Message-ID: <1520635631.2907.16.camel@wdc.com> References: <20180309232933.14e39858@heffalump.sk2.org> <20180309223355.21222-1-steve@sk2.org> In-Reply-To: <20180309223355.21222-1-steve@sk2.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB0366;7:tY/MAs+pBXBQHx561vk0LEHhuTHaiCZlganLFOYncj4NmGIC7Zan64WqRTKJXzaMvmiI6vcvUHiE5cTPdh2sLb4l9sukht+8sNdEbFNrqoe4pPsfczUwTl/FGx6ceTY4ehxgTNwh424/ESL9lgLWIZnZYxAoaiSTQldJT6fVLhcisT6rF/ssXwF0WxEKwEcoFyvFmw/d3hxd4CWZdDi9oNbezWERTVaBHr5Ftx3hiV9bmrjZ2PWsG20Qp3MzfvId;20:eKquqhSDhUWziZ8qkjfg/q0Lmrwjhe+8fVxwXiumfXQJr26q90l/ad8sDtMr3ZvrWfpH3tMod11JJyIpNjgX3e5QsI1ghhSOkSQSmmQvgTC8N2g7bbIZ9+7nU1Io/qy7HrA23MCW6emquWh/LXrVUm6JveWc/KVjgpt4Ng79Ekg= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0d193a54-4e48-4ea6-fbea-08d5860fb314 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB0366; x-ms-traffictypediagnostic: MWHPR04MB0366: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011);SRVR:MWHPR04MB0366;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB0366; x-forefront-prvs: 0606BBEB39 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(39380400002)(39860400002)(346002)(366004)(377424004)(189003)(199004)(2900100001)(7736002)(68736007)(6116002)(86362001)(97736004)(2201001)(103116003)(3846002)(305945005)(8676002)(81156014)(72206003)(81166006)(26005)(3660700001)(6436002)(102836004)(59450400001)(6506007)(8936002)(478600001)(6486002)(186003)(106356001)(76176011)(54906003)(6246003)(110136005)(2906002)(99286004)(105586002)(3280700002)(5660300001)(25786009)(53936002)(6512007)(316002)(2950100002)(2501003)(66066001)(36756003)(4326008)(5250100002)(14454004)(229853002);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB0366;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-microsoft-antispam-message-info: xkVP2DIB4xwe7YRChpPQcOZUIqLAqzZUVltI/cvB7yks20RLZFAB0P9c4LCd405sJECFS3j6tc06SCdPm6rPcxQgB4WAkj9tBWH3i9wDTW57GgPS0Qw3Fqfl3spfWue8mJg4EloZap6kcURul5w8kt7VUiZzOHyZHDYUVjonzDEgE12J4CFisyxgj3sYH/B1VpUpVpeSa/a+eXUjRppp5vupJQ7cGILkrX7XTHkWpMabG9YkQbLFMxp0RifwzN8xFdAxWxqvctEd5lcziXixNsQqKTsHOJTb16y4QXgrwnq2DMJF06sqHNlpfJWsA20amwJIOGzKHT3LIhmh+y+EAw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <965C3C37A5D2914BB97304BF9154AC16@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d193a54-4e48-4ea6-fbea-08d5860fb314 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2018 22:47:12.8202 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0366 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTAzLTA5IGF0IDIzOjMzICswMTAwLCBTdGVwaGVuIEtpdHQgd3JvdGU6DQo+ ICsvKg0KPiArICogU0NTSSBjb21tYW5kIHNpemVzIGFyZSBhcyBmb2xsb3dzLCBpbiBieXRlcywg Zm9yIGZpeGVkIHNpemUgY29tbWFuZHMsIHBlcg0KPiArICogZ3JvdXA6IDYsIDEwLCAxMCwgMTIs IDE2LCAxMiwgMTAsIDEwLiBUaGUgdG9wIHRocmVlIGJpdHMgb2YgYW4gb3Bjb2RlDQo+ICsgKiBk Z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